Send feedback on this topic.
Teradata.Client.Provider
SslMode Property



Teradata.Client.Provider Namespace > TdConnectionStringBuilder Class : SslMode Property
Gets or sets the SslMode for connections to the database.
Syntax
'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;}
public:
property String^ SslMode {
   String^ get();
   void set (    String^ value);
}
Remarks

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

Requirements
ProductVersionsPlatforms
.NET2.1, 3.1, 6Windows, Linux, MacOS
.NET Framework4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8Windows
.NET Standard2.0Windows, Linux, MacOS
See Also

Reference

TdConnectionStringBuilder Class
TdConnectionStringBuilder Members