'Declaration Public Property SslMode As String
'Usage Dim instance As TdConnectionStringBuilder Dim value As String instance.SslMode = value value = instance.SslMode
public string SslMode {get; set;}
'Declaration Public Property SslMode As String
'Usage Dim instance As TdConnectionStringBuilder Dim value As String instance.SslMode = value value = instance.SslMode
public string SslMode {get; set;}
This feature is only available with Teradata SQL Engine 16.20.53.30 and above, and TLS must be enabled on the Gateway.
NOTE: the Data Provider does not check the certificate revocation list during authentication.
SslMode | Description |
---|---|
Disable |
Disable HTTPS/TLS connections and only connect using the non-TLS TdConnectionStringBuilder.PortNumber. If the TdConnectionStringBuilder.DataEncryption parameter is set, then TeraGSS is used for encryption. |
Allow |
If the server does not require HTTPS/TLS connections, connect using the non-TLS TdConnectionStringBuilder.PortNumber. If the TdConnectionStringBuilder.DataEncryption parameter is set, then TeraGSS is used for encryption. If the server requires HTTPS/TLS connections, establish a TLS-encrypted connection using the TdConnectionStringBuilder.HttpsPortNumber. |
Prefer |
If the server supports HTTPS/TLS connections, establish a TLS-encrypted connection using the TdConnectionStringBuilder.HttpsPortNumber. If the server does not support HTTPS/TLS connections, connect using the non-TLS TdConnectionStringBuilder.PortNumber. If the TdConnectionStringBuilder.DataEncryption parameter is set, then TeraGSS is used for encryption. |
Require |
Establish a TLS-encrypted connection using the TdConnectionStringBuilder.HttpsPortNumber. |
Verify-CA |
Establish a TLS-encrypted connection using the TdConnectionStringBuilder.HttpsPortNumber and verify that the server certificate is valid and trusted by the Certificate Authority (CA) certificates installed on the client system. |
Verify-Full |
Establish a TLS-encrypted connection using the TdConnectionStringBuilder.HttpsPortNumber, verify that the server certificate is valid and trusted by the certificates installed on the client system, and verify that the server certificate contains the TdConnectionStringBuilder.DataSource in the Common Name or the Subject Alternative Name. |
Default Value: Prefer
Product | Versions | Platforms |
---|---|---|
.NET | 2.1, 3.1, 6 | Windows, Linux, MacOS |
.NET Framework | 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8 | Windows |
.NET Standard | 2.0 | Windows, Linux, MacOS |