알쓸전컴(알아두면 쓸모있는 전자 컴퓨터)

java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty 에러 해결방법 본문

Web

java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty 에러 해결방법

백곳 2019. 10. 27. 04:40

open jdk 11을 이번에 사용하고 나서 리눅스에서 생긴 증상이다 

 

java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty 

 

에러로 인해 API 를 사용하려는 https 서버에 접속이 안되는 문제가 발생 하였다.

 

Windows 에서 사용하던 openJDK 는 https api 와 잘 통신이 되엇다. 

 

해당 파일을 윈도우에 설치해 서 가지고 있던 

파일로 교체 해주었더니 

 

SSL로 잘 접속 되었습니다. 

 

Comments