My Oracle Support Banner

Getting SSL Hostname Verification Errors In A Webservice Call (Doc ID 1923947.1)

Last updated on APRIL 04, 2018

Applies to:

Oracle WebLogic Server - Version 12.1.2.0.0 to 12.1.2.0.0 [Release 12c]
Information in this document applies to any platform.

Symptoms

We have a J2EE application that makes web services calls using JAX-WS toanother J2EE application.
when using SSL for security. We have found that these calls fail with an exception such as this:

javax.xml.ws.WebServiceException: javax.net.ssl.SSLKeyException:
[Security:090504]Certificate chain received from POLINENI-PC.us.oracle.com -10.149.159.116 failed hostname verification check. Certificate contained POLINENI-PC.us.oracle.com but check expected POLINENI-PC.us.oracle.com


As can be seen from the exception the hostnames match but hostname verification is still failing.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.