[
https://issues.apache.org/jira/browse/QPID-6743?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14875957#comment-14875957
]
ASF subversion and git services commented on QPID-6743:
-------------------------------------------------------
Commit 1703905 from [~k-wall] in branch 'java/trunk'
[ https://svn.apache.org/r1703905 ]
QPID-6743: [Java Client] Avoid premature attempt to verify peer hostname
> Java client may log a spurious SSLPeerUnverifiedException warning during SSL
> connection handshake
> -------------------------------------------------------------------------------------------------
>
> Key: QPID-6743
> URL: https://issues.apache.org/jira/browse/QPID-6743
> Project: Qpid
> Issue Type: Bug
> Components: Java Client
> Reporter: Keith Wall
> Priority: Minor
> Fix For: qpid-java-6.0
>
>
> A defect in SSLReceiver may mean that the client may log a spurious
> {{javax.net.ssl.SSLPeerUnverifiedException}} exception during SSL
> handshaking. Whether the message is seen will depend on whether the
> handshake {{FINISHED}} status is observed by the SSLSender or SSLReceiver.
> The issue is SSLReceiver's {{RUN_TASK}} handling falls through and causes a
> premature attempt to verify hostname, which will be before the peer's
> certificate is available.
> {noformat}
> 2015-09-18 15:10:33,461 WARN [IoRcvr-localhost/127.0.0.1:15671]
> o.a.q.t.n.s.s.SSLUtil Exception received while trying to verify hostname
> javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
> at
> sun.security.ssl.SSLSessionImpl.getPeerCertificates(SSLSessionImpl.java:421)
> ~[na:1.7.0_79]
> at
> org.apache.qpid.transport.network.security.ssl.SSLUtil.verifyHostname(SSLUtil.java:90)
> ~[qpid-common-6.0.0-SNAPSHOT.jar:6.0.0-SNAPSHOT]
> at
> org.apache.qpid.transport.network.security.ssl.SSLReceiver.received(SSLReceiver.java:173)
> [qpid-common-6.0.0-SNAPSHOT.jar:6.0.0-SNAPSHOT]
> at
> org.apache.qpid.transport.network.io.IoReceiver.run(IoReceiver.java:162)
> [qpid-common-6.0.0-SNAPSHOT.jar:6.0.0-SNAPSHOT]
> at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]