SQL Server JDBC Error on Java 8: The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption

前端 未结 8 2267
鱼传尺愫
鱼传尺愫 2020-11-27 16:39

I am getting the following error when connecting to a SQL Server database using version the Microsoft JDBC Driver:

com.microsoft.sqlserver.jdbc.SQLSer

8条回答
  •  甜味超标
    2020-11-27 16:57

    In my case, the issue was because the app was set to use spring-boot-ext-security-starter-credhub-credential and there were some issues with that setup.

    So I removed credhub from the manifest file and pom and fetched credentials in a different way; then the error was gone.

提交回复
热议问题