목록2025/04/17 (1)
개발일기
unable to find valid certification path to requested target 인증서 오류
어제 배포 중, 우리 회사 서비스는 Spring Cloud Gateway를 사용해서 외부 API를 호출하는 방식이 아닌, RestTemplate 통해서, 호출해주는 방식을 사용하고 있다. 그러다 보니, 인증서를 통해서 HTTPS 서버의 SSL 인증서를 검증하지 못하여 아래와 같은 에러가 발생하였습니다. javax.net.ssl.SSLHandshakeException: PKIX path building failed:sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target 오류에 대한 조치는 Dockerfile에 인증서를 추가해주는 방식으로 진행하였습니..
서버 & 클라우드
2025. 4. 17. 17:07