My Oracle Support Banner

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

Last updated on JULY 29, 2024

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 <hostname.domain> -nn.nnn.nnn.nnn failed hostname verification check. Certificate contained <hostname.domain> but check expected <hostname.domain>


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

Changes

 

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
Changes
Cause
Solution
References


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