From 0f56351202963c75d8d7f490a26e2e6aa7a764d1 Mon Sep 17 00:00:00 2001 From: Haihan Jiang Date: Sun, 24 May 2026 10:10:04 -0700 Subject: [PATCH] docs: explain SQL Server SSL option --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index f04faff6..6bfa8396 100644 --- a/README.md +++ b/README.md @@ -204,6 +204,18 @@ connection.close(); connector.close(); ``` +If your Cloud SQL for SQL Server instance requires SSL connections, configure +the `tedious` driver to use encryption in addition to the connector-managed +secure connection: + +```js +options: { + ...clientOpts, + encrypt: true, + trustServerCertificate: true, +} +``` + ### Using a Local Proxy Tunnel (Unix domain socket) Another possible way to use the Cloud SQL Node.js Connector is by creating a