sqlserver连接报错:unable to find valid certification path to requested target àì夳堔傛蜴生んèń 2024-03-17 23:37 41阅读 0赞 在SQL server参数增加: `encrypt=false;trustServerCertificate=true;` 注意有的文章只建议增加trustServerCertificate。但是有些连接器(flink jdbc)会默认添加encrypt=true参数。造成连接失败。 If TrustServerCertificate is set to true and encryption is turned on, the encryption level specified on the server will be used even if Encrypt is set to false. The connection will fail otherwise. [参考文章][Link 1] [Link 1]: https://techcommunity.microsoft.com/t5/azure-database-support-blog/pkix-path-building-failed-unable-to-find-valid-certification/ba-p/2591304
还没有评论,来说两句吧...