Bug 1265131

Summary: Inappropriate message logged by the SSL client
Product: Red Hat Enterprise MRG Reporter: Petr Matousek <pematous>
Component: qpid-javaAssignee: messaging-bugs <messaging-bugs>
Status: NEW --- QA Contact: Messaging QE <messaging-qe-bugs>
Severity: medium Docs Contact:
Priority: unspecified    
Version: DevelopmentCC: jross, messaging-bugs, pematous, zkraus
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1267276 (view as bug list) Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1267276    

Description Petr Matousek 2015-09-22 08:05:36 UTC
Description of problem:

Following exception is logged by the client while verifying the hostname from the server certificate. The hostname verification process itself succeeds and seems to work as expected (except of bug 1265130), thus the message is very confusing for the user: 

IoReceiver - <hostname>/<ip>:<port> 2015-09-21 14:52:46,392 WARN [network.security.ssl.SSLUtil] Exception received while trying to verify hostname

Version-Release number of selected component (if applicable):
qpid-java-*-0.30-7

How reproducible:
100%

Steps to Reproduce:
1. configure and run broker listening for SSL connections
2. run some example SSL client
3. the SSL handshake succeeds, but the following exception is logged by the client: [network.security.ssl.SSLUtil] Exception received while trying to verify hostname

Actual results:
IoReceiver - <hostname>/<ip>:<port> 2015-09-21 14:52:46,392 WARN [network.security.ssl.SSLUtil] Exception received while trying to verify hostname

Expected results:
No exception message logged on successful SSL handshake (and server hostname verification)

Additional info: