unable to find valid certification path to requested target 2

[Java] PKIX path building failed

[ ์—๋Ÿฌ ] javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target  [ Solution ]cmd์‹คํ–‰ํ›„ ์•„๋ž˜ ๋ช…๋ น์–ด ์ž…๋ ฅ// Java SSL์ธ์ฆ์„œ ๋“ฑ๋กํ•˜๊ธฐkeytool.exe -import -alias keytool์—๋“ฑ๋ก๋ ๋ณ„์นญ์ž‘์„ฑ -keystore "JAVA Home๊ฒฝ๋กœ์˜ lib/security/cacerts๊ฒฝ๋กœ ์ž‘์„ฑ" -storepass changeit -file crt์ธ์ฆ์„œํŒŒ์ผ์˜๊ฒฝ๋กœ์ž‘์„ฑ์˜ˆ์‹œ)keytool.exe -import -al..

Dev_Log 2024.11.19

[MS SQL] ๋“œ๋ผ์ด๋ฒ„๊ฐ€ SSL(Secure Sockets Layer) ์•”ํ˜ธํ™”๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ SQL Sever๋กœ ๋ณด์•ˆ ์—ฐ๊ฒฐ์„ ์„ค์ •ํ•  ์ˆ˜ ์—†์Šต๋‹ˆ๋‹ค.์˜ค๋ฅ˜: "PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException:unable to find valid cer..

[ ์—๋Ÿฌ ๋ฐœ์ƒ ์ƒํ™ฉ ] 01. MS SQL 2008์„ ๋งˆ์ด๋ฐ”ํ‹ฐ์Šค์™€ ์—ฐ๋™ํ›„ ํ”„๋กœ์ ํŠธ ์‹คํ–‰ํ•˜๋ฉด ์—๋Ÿฌ๊ฐ€ ๋ฐœ์ƒ com.microsoft.sqlserver.jdbc.SQLServerException: ๋“œ๋ผ์ด๋ฒ„๊ฐ€ SSL(Secure Sockets Layer) ์•”ํ˜ธํ™”๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ SQL Sever๋กœ ๋ณด์•ˆ ์—ฐ๊ฒฐ์„ ์„ค์ •ํ•  ์ˆ˜ ์—†์Šต๋‹ˆ๋‹ค. ์˜ค๋ฅ˜: "PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target". ClientConnectionId:154ff66f-f441-4885-a1a9-3b76e9182e5c [ Solutio..

Dev_Log 2023.03.28