Add support for Encrypt=Strict for TDS 8.0 connections with SQL Server 2022 (#21256)

This commit is contained in:
Cheena Malhotra
2023-02-10 10:34:36 -08:00
committed by GitHub
parent c75628639c
commit 3fb8d57d25
13 changed files with 256 additions and 24 deletions

View File

@@ -237,10 +237,23 @@
"displayName": "%cms.connectionOptions.encrypt.displayName%",
"description": "%cms.connectionOptions.encrypt.description%",
"groupName": "%cms.connectionOptions.groupName.security%",
"valueType": "boolean",
"valueType": "category",
"defaultValue": "true",
"objectType": null,
"categoryValues": null,
"categoryValues": [
{
"displayName": "%cms.connectionOptions.encrypt.categoryValues.true%",
"name": "true"
},
{
"displayName": "%cms.connectionOptions.encrypt.categoryValues.strict%",
"name": "strict"
},
{
"displayName": "%cms.connectionOptions.encrypt.categoryValues.false%",
"name": "false"
}
],
"isRequired": false,
"isArray": false,
"showOnConnectionDialog": true

View File

@@ -69,13 +69,16 @@
"cms.connectionOptions.columnEncryptionSetting.displayName": "Column encryption",
"cms.connectionOptions.columnEncryptionSetting.description": "Default column encryption setting for all the commands on the connection",
"cms.connectionOptions.encrypt.displayName": "Encrypt",
"cms.connectionOptions.encrypt.description": "When true, SQL Server uses SSL encryption for all data sent between the client and server if the server has a certificate installed",
"cms.connectionOptions.encrypt.description": "When 'Mandatory' or 'Strict', SQL Server uses SSL encryption for all data sent between the client and server if the server has a certificate installed. When set to 'Strict', SQL Server uses TDS 8.0 for all data transfer between the client and server. 'Strict' is supported on SQL Server 2022 onwards.",
"cms.connectionOptions.encrypt.categoryValues.strict": "Strict",
"cms.connectionOptions.encrypt.categoryValues.true": "Mandatory (True)",
"cms.connectionOptions.encrypt.categoryValues.false": "Optional (False)",
"cms.connectionOptions.persistSecurityInfo.displayName": "Persist security info",
"cms.connectionOptions.persistSecurityInfo.description": "When false, security-sensitive information, such as the password, is not returned as part of the connection",
"cms.connectionOptions.hostNameInCertificate.displayName": "Host name in certificate",
"cms.connectionOptions.hostNameInCertificate.description": "Indicates the host name specified in TLS certificate that will be used by SQL Server to validate server certificate. When not specified, the server name is used by default for certificate validation.",
"cms.connectionOptions.trustServerCertificate.displayName": "Trust server certificate",
"cms.connectionOptions.trustServerCertificate.description": "When true (and encrypt=true), SQL Server uses SSL encryption for all data sent between the client and server without validating the server certificate",
"cms.connectionOptions.trustServerCertificate.description": "When true (and encrypt=true), SQL Server uses SSL encryption for all data sent between the client and server without validating the server certificate. This property is not supported with Encrypt=Strict.",
"cms.connectionOptions.attachedDBFileName.displayName": "Attached DB file name",
"cms.connectionOptions.attachedDBFileName.description": "The name of the primary file, including the full path name, of an attachable database",
"cms.connectionOptions.contextConnection.displayName": "Context connection",