Skip to content

Commit a1a8d05

Browse files
Merge pull request #34009 from David-Engel/patch-1
Add clarifying note about OLEDB installation behavior
2 parents 36870b0 + 93cfe6e commit a1a8d05

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

docs/connect/oledb/features/encryption-and-certificate-validation.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Encryption and certificate validation
33
description: Learn about encryption and certificate validation for SQL Server connections. The OLE DB Driver for SQL Server supports encryption and certificate validation.
44
author: David-Engel
55
ms.author: davidengel
6-
ms.date: 05/02/2025
6+
ms.date: 05/05/2025
77
ms.service: sql
88
ms.subservice: connectivity
99
ms.topic: "reference"
@@ -40,7 +40,7 @@ Version 19 of the OLE DB Driver for SQL Server introduces breaking changes in th
4040

4141
The following table describes the evaluation of the encryption settings:
4242

43-
| Force Protocol Encryption client setting | Connection string/connection attribute Encrypt/Use Encryption for Data | **Resulting encryption** |
43+
| Force Protocol Encryption client registry setting | Connection string/connection attribute Encrypt/Use Encryption for Data | **Resulting encryption** |
4444
|--|--|--|
4545
| 0 (default) | No/Optional | Optional |
4646
| 0 (default) | Yes/Mandatory (default) | Mandatory |
@@ -55,11 +55,14 @@ The following table describes the resulting encryption and validation:
5555
| Encryption | Trust Server Certificate client registry setting | Connection string/connection attribute Trust Server Certificate | Result |
5656
|--|--|--|--|
5757
| Optional | N/A | N/A | Encryption only occurs for LOGIN packets. |
58-
| Mandatory | 0 (default) | Ignored | Encryption occurs only if there's a verifiable server certificate, otherwise the connection attempt fails. |
59-
| Mandatory | 1 | No (default) | Encryption occurs only if there's a verifiable server certificate, otherwise the connection attempt fails. |
60-
| Mandatory | 1 | Yes | Encryption always occurs, but may use a self-signed server certificate. |
58+
| Mandatory | 0 | Ignored | Encryption occurs only if there's a verifiable server certificate, otherwise the connection attempt fails. |
59+
| Mandatory | 1 (default) | No (default) | Encryption occurs only if there's a verifiable server certificate, otherwise the connection attempt fails. |
60+
| Mandatory | 1 (default) | Yes | Encryption always occurs, but may use a self-signed server certificate. |
6161
| Strict | N/A | N/A | Encryption occurs only if there's a verifiable server certificate, otherwise the connection attempt fails. |
6262

63+
> [!NOTE]
64+
> In versions 19.0 through 19.3, during installation, the default Trust Server Certificate client registry setting is read from the version 18 registry setting, if it exists.
65+
6366
> [!CAUTION]
6467
> The preceding table only provides a guide on the system behavior under different configurations. For secure connectivity, ensure that the client and server both require encryption (for server-side configuration, see [Configure encryption settings in SQL Server](../../../database-engine/configure-windows/configure-sql-server-encryption.md#step-2-configure-encryption-settings-in-sql-server)). Also ensure that the server has a verifiable certificate, and that the **`TrustServerCertificate`** setting on the client is set to FALSE.
6568

0 commit comments

Comments
 (0)