Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

This page discusses the different options available in the “Encryption Settings” group as used by ACM. These options are only available when using Microsoft OLE DB Driver 19 for SQL Server.

If you are unsure whether or not to encrypt the connection or trust the server, contact your DBA or IT department. 

The MSOLEDBSQL19 data provider has different default behavior for encryption and trusting the server certificate than prior versions of the MSOLEDBSQL provider. When the appropriate keywords are not provided, the connection to the ACM database will require a certificate issued by a trusted Certificate Authority.

If the expected certificate does not exist, the connection will fail and SQL Server will return an error regarding the certificate or certificate chain.

Per the Microsoft Documentation regarding encryption and certificate validation dated 12/12/2022, the outcome of the settings will be as follows:

Encryption OptionResult
Do not encryptEncryption only occurs for LOGIN packets. Does not require a verifiable server certificate.
Encrypt and trust the server certificateEncryption always occurs, but the server may use a self-signed server certificate.
*Requires client machine to also trust the server certificate.
Encrypt but do not trust the server certificateWith a verifiable server certificate, the connection will succeed and encryption will occur. Without a verifiable server certificate, the connection will fail.

*The ACM default selection is in bold.

For more information: https://learn.microsoft.com/en-us/sql/connect/oledb/features/encryption-and-certificate-validation?view=sql-server-ver16#major-version-19


  • No labels