WebLogic 12 SSLKeyException: Hostname verification failed after restart

前端 未结 3 1452
臣服心动
臣服心动 2021-02-07 20:55

I have a WAR file deployed on WebLogic 12.1.2.0.0. Application calls a web service via HTTPS. Certificate is imported in DemoTrust.jks. All SSL related settings should be correc

相关标签:
3条回答
  • 2021-02-07 21:09

    set JAVA_OPTIONS=%JAVA_OPTIONS% -DUseSunHttpHandler=true helps me. Try to add this line to WebLogic setDomainEnv.(cmd|sh) file. The purpose of this parameter is to tell WebLogic to use Sun's HttpHandler and do not use WebLogic own.

    0 讨论(0)
  • 2021-02-07 21:17

    If this is an issue with wildcards in the certificate name (e.g. weblogic default verifier doesn't think the certificate for *.salesforce.com covers cs86.salesforce.com), WebLogic actually provides a custom verifier to use: weblogic.security.utils.SSLWLSWildcardHostnameVerifier. This value should be entered in the SSL configuration for the server in Console -> Servers -> {Server Name} -> SSL -> Advanced -> Custom Hostname Verifier

    0 讨论(0)
  • 2021-02-07 21:29

    admin console Servers -> server name -> Configuration SSL tab -> Advanced -> Change Hostname Verification dropdown to None

    This worked for me.

    0 讨论(0)
提交回复
热议问题