hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Silvio Moioli (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HTTPCLIENT-1606) TestSSLSocketFactory fails on OpenJDK
Date Tue, 03 Feb 2015 17:35:34 GMT
Silvio Moioli created HTTPCLIENT-1606:
-----------------------------------------

             Summary: TestSSLSocketFactory fails on OpenJDK
                 Key: HTTPCLIENT-1606
                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1606
             Project: HttpComponents HttpClient
          Issue Type: Bug
          Components: HttpClient
    Affects Versions: 4.3.6
         Environment: SLES 12, OpenJDK 1.7.0.65
            Reporter: Silvio Moioli
            Priority: Minor


TestSSLSocketFactory fails during build with the following stacktrace:

Tests run: 9, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.333 sec <<< FAILURE!
- in org.apache.http.conn.ssl.TestSSLSocketFactory
testSSLTrustVerification(org.apache.http.conn.ssl.TestSSLSocketFactory)  Time elapsed: 0.049
sec  <<< ERROR!
java.lang.Exception: Unexpected exception, expected<javax.net.ssl.SSLHandshakeException>
but was<javax.net.ssl.SSLException>
 at java.security.cert.PKIXParameters.setTrustAnchors(PKIXParameters.java:200)
 at java.security.cert.PKIXParameters.<init>(PKIXParameters.java:120)
 at java.security.cert.PKIXBuilderParameters.<init>(PKIXBuilderParameters.java:104)
 at sun.security.validator.PKIXValidator.<init>(PKIXValidator.java:88)
 at sun.security.validator.Validator.getInstance(Validator.java:179)
 at sun.security.ssl.X509TrustManagerImpl.getValidator(X509TrustManagerImpl.java:314)
 at sun.security.ssl.X509TrustManagerImpl.checkTrustedInit(X509TrustManagerImpl.java:173)
 at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:186)
 at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:126)
 at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1323)
 at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:153)
 at sun.security.ssl.Handshaker.processLoop(Handshaker.java:868)
 at sun.security.ssl.Handshaker.process_record(Handshaker.java:804)
 at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1016)
 at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1312)
 at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1339)
 at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1323)
 at org.apache.http.conn.ssl.SSLConnectionSocketFactory.createLayeredSocket(SSLConnectionSocketFactory.java:290)
 at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:259)
 at org.apache.http.conn.ssl.TestSSLSocketFactory.testSSLTrustVerification(TestSSLSocketFactory.java:315)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message