본문 바로가기
Development

Unable to execute HTTP request: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

by 오늘만, 2023. 10. 24.
반응형

AWS S3 SDK 사용시 아래 오류 발생

 

Unable to execute HTTP request: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

 

 

 

PowerShell 에서 아래 명령어 실행 (java 기준)

keytool -importcert -file "인증서.crt" -keystore $JAVA_HOME\lib\security\cacerts -storepass changeit -noprompt
반응형