Mule 4용 데이터베이스 커넥터를 사용하여 Microsoft SQL 서버에 연결하면 다음 오류가 발생합니다.
java.sql.SQLException: URL jdbc:sqlserver://host:1433;databaseName=testDB에 연결할 수 없음: "encrypt" 속성이 "true"로 설정되고 "trustServerCertificate" 속성이 "false"로 설정되지만 드라이버가 SSL(Secure Sockets Layer) 암호화를 사용하여 SQL Server에 안전하게 연결할 수 없습니다. 오류: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: 요청 대상에 유효한 인증서 경로를 찾을 수 없습니다.
SQL Server 인스턴스의 TLS 인증서는 JVM의 신뢰할 수 있는 기본 매장 또는 trustStore 연결 속성에 구성된 신뢰할 수 있는 매장에서 신뢰할 수 없습니다.
이 문제를 해결할 잠재적인 해결 방법은 두 가지입니다.
001117544

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.