java – WebLogic javax.net.ssl.SSLHandshakeException

java – WebLogic javax.net.ssl.SSLHandshakeException

  • You could either import the corresponding SSL certificate (or its CA) into the WebLogic trust store (e.g. as described here: https://docs.oracle.com/cd/E23943_01/web.1111/e13707/identity_trust.htm#SECMG379) as already suggested by Amogh.
  • Or if you prefer to use the default Java (SUN) SSL stack and your code already uses a properly configured SSLContext (as you write that it worked for Tomcat, this could be already the case), avoid the usage of the WebLogic SSL stack by providing -DUseSunHttpHandler=true for JAVA_OPTIONS in setDomainEnv.[cmd|sh].

Islam …I would suggest you to check below (both client and server side)

  1. Upgrade to the latest jdk at both sides
  2. check TLS versions
    for eg,. -Djdk.tls.client.protocols=TLSv1.2 -Dweblogic.security.SSL.minimumProtocolVersion=TLSv1.2
  3. Check ciphers at both ends (domain/config/config.xml). make sure atleast 2 matches
    4.ssl certs both ends

If you still see the issue, please enable below and restart the jvm
-Dssl.debug=true -Dweblogic.security.SSL.verbose=true -Dweblogic.StdoutDebugEnabled=true -Djavax.net.debug=all -Djava.security.debug=all -Dweblogic.wsee.security.verbose=true -Dweblogic.wsee.security.debug=true -Dweblogic.webservice.verbose=true

java – WebLogic javax.net.ssl.SSLHandshakeException

ask the webservice server admin for pfx file .then follow the procedure .Answer given at

Import PFX file into Existing JKS file (NOT converting from .pfx to .jks)

Leave a Reply

Your email address will not be published.