본문 바로가기

WAS/WebLogic

[weblogic] SSL 인증서가 설치된 외부 서버 호출 시 Hostname Verification 에러 발생

#. 참고 글

https://akamame.tistory.com/8

https://jjiiinn.tistory.com/7

https://docs.oracle.com/cd/E21764_01/apirefs.1111/e13952/taskhelp/security/DisableHostNameVerification.html

https://stackoverflow.com/questions/27550586/weblogic-12-sslkeyexception-hostname-verification-failed-after-restart

 


 

#. 조치방법

두 가지 방안이 있는 듯 하다.

-Dweblogic.security.SSL.ignoreHostnameVerification=true

-DUseSunHttpHandler=true

 

우선 Dweblogic.security.SSL.ignoreHostnameVerification 옵션을 사용해보도록 한다.

host name verification을 비활성화 하는 옵션이다.