我在尝试连接 SQL Server 时遇到以下错误:
[Microsoft][ODBC Driver 18 for SQL Server]SSL Provider: [error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:self signed certificate]
Run Code Online (Sandbox Code Playgroud)
我使用的是 Ubuntu 20、PHP 7.4 FPM、nginx。
Server Microsoft SQL Server [11.00.3128
Microsoft SQL Server 2012 (SP1) - 11.0.3128.0 (X64)
Dec 28 2012 20:23:12
Copyright (c) Microsoft Corporation
Standard Edition (64-bit) on Windows NT 6.2 <X64> (Build 9200: ) (Hypervisor)
]
Run Code Online (Sandbox Code Playgroud)
当我:
openssl s_client -connect myserverip:1433 -tls1
Run Code Online (Sandbox Code Playgroud)
我得到:
已连接(00000003)
我的 openssl 库版本是:
OpenSSL 1.1.1f 2020 年 3 月 31 日(库:OpenSSL 1.1.1k 2021 年 3 月 …