You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/connect/oledb/features/encryption-and-certificate-validation.md
+8-5Lines changed: 8 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ title: Encryption and certificate validation
3
3
description: Learn about encryption and certificate validation for SQL Server connections. The OLE DB Driver for SQL Server supports encryption and certificate validation.
4
4
author: David-Engel
5
5
ms.author: davidengel
6
-
ms.date: 05/02/2025
6
+
ms.date: 05/05/2025
7
7
ms.service: sql
8
8
ms.subservice: connectivity
9
9
ms.topic: "reference"
@@ -40,7 +40,7 @@ Version 19 of the OLE DB Driver for SQL Server introduces breaking changes in th
40
40
41
41
The following table describes the evaluation of the encryption settings:
42
42
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**|
@@ -55,11 +55,14 @@ The following table describes the resulting encryption and validation:
55
55
| Encryption | Trust Server Certificate client registry setting | Connection string/connection attribute Trust Server Certificate | Result |
56
56
|--|--|--|--|
57
57
| 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. |
61
61
| Strict | N/A | N/A | Encryption occurs only if there's a verifiable server certificate, otherwise the connection attempt fails. |
62
62
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
+
63
66
> [!CAUTION]
64
67
> 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.
0 commit comments