Skip to content

SSLKeyException is thrown when non-standard SSL libraries are used #8

@livthomas

Description

@livthomas

It seems that Issue Keeper now uses some default SSL libraries. However, if you use different libraries in your software, the Issue Keeper will use them and then fail to connect to Bugzilla.

javax.net.ssl.SSLKeyException: Hostname verification failed: HostnameVerifier=weblogic.security.utils.SSLWLSHostnameVerifier, hostname=bugzilla.redhat.com.
    at weblogic.security.SSL.jsseadapter.JaSSLEngine.doPostHandshake(JaSSLEngine.java:677)
    at weblogic.security.SSL.jsseadapter.JaSSLEngine.doAction(JaSSLEngine.java:748)
    at weblogic.security.SSL.jsseadapter.JaSSLEngine.unwrap(JaSSLEngine.java:132)
    at weblogic.socket.JSSEFilterImpl.unwrap(JSSEFilterImpl.java:603)
    at weblogic.socket.JSSEFilterImpl.unwrapAndHandleResults(JSSEFilterImpl.java:507)
    at weblogic.socket.JSSEFilterImpl.doHandshake(JSSEFilterImpl.java:96)
    at weblogic.socket.JSSEFilterImpl.doHandshake(JSSEFilterImpl.java:75)
    at weblogic.socket.JSSESocket.startHandshake(JSSESocket.java:219)
    at weblogic.net.http.HttpsClient.New(HttpsClient.java:563)
    at weblogic.net.http.HttpsClient.New(HttpsClient.java:534)
    at weblogic.net.http.HttpsURLConnection.connect(HttpsURLConnection.java:248)
    at weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:636)
    at weblogic.net.http.SOAPHttpsURLConnection.getInputStream(SOAPHttpsURLConnection.java:37)
    at qa.tools.ikeeper.client.connector.BugzillaConnector.get(BugzillaConnector.java:97)
    at qa.tools.ikeeper.client.connector.BugzillaConnector.getIssue(BugzillaConnector.java:45)
    at qa.tools.ikeeper.client.BugzillaClient.getIssues(BugzillaClient.java:32)
    at qa.tools.ikeeper.IKeeperInterceptor.intercept(IKeeperInterceptor.java:105)
    at qa.tools.ikeeper.test.IKeeperJUnitConnector$1.evaluate(IKeeperJUnitConnector.java:36)
    at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:74)

Some universal SSL hostname verifier should be used all the time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions