Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Problem

When using the SeaLights test listener as a javaagent in WebsphereWebSphere, it fails to connect to our server with the exception "Cannot find the specified class com.ibm.websphere.ssl.protocol.SSLSocketFactory"

Panel
... <Certificate chain received from hostname - xxx.xxx.xxx.xxx --> app.sealights.co failed hostname verification check. Certificate contained *.sealights.co but check expected app.sealights.co>

Solution

This issue can occur when using a JDK from the WebSphere Application Server. See https://www.ibm.com/support/knowledgecenter/en/was_beta_liberty/com.ibm.websphere.wlp.nd.multiplatform.doc/ae/rwlp_trouble.html#rwlp_trouble__ssl01 for more details.
Therefore you should create a file called sl.java.security with the following content

...

And then add the following parameter to the JVM args of websphere webSphere alongside out javaagent: 

Code Block
-Djava.security.properties=fullPathTo/sl.java.security

Filter by label (Content by label)
showLabelsfalse
max5
spacescom.atlassian.confluence.content.render.xhtml.model.resource.identifiers.SpaceResourceIdentifier@1422e
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel in ( "java" , "certificate" , "weblogic" ) and type = "page" and space = "SUP"
labelsWeblogic Java Certificate

...

Page Properties
hiddentrue


Related issues