Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
livthomas opened this issue Jan 27, 2016 · 0 comments
Open
Labels

Comments

@livthomas
Copy link
Collaborator

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.

@livthomas livthomas added the bug label Jan 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant