My Oracle Support Banner

Error "Hostname verification failed" Connecting to an Imaging Cluster or Content Server Cluster over SSL (Doc ID 2439118.1)

Last updated on FEBRUARY 15, 2024

Applies to:

Oracle WebCenter Enterprise Capture - Version 12.2.1.2.0 and later
Oracle WebCenter Content - Version 12.2.1.2.0 and later
Oracle WebCenter Content: Imaging - Version 12.2.1.3.0 and later
Information in this document applies to any platform.

Symptoms

Using Enterprise Capture version 12.2.1.2.0, it is possible to successfully connect to a WebCenter Content: Imaging cluster and a WebCenter Content cluster using Load balanced SSL urls (Env A), but it fails when attempting to connect to the same Imaging / Content Server configuration (Env B) in a different environment. Connecting directly to the node works.

When attempting to connect to the (Env B) Imaging Load Balanced SSL URL, the following error is returned in the Capture server logs:

<Aug 10, 2018, 10:12:00,509 AM CDT> <Warning> <Security> <BEA-090504> <Certificate chain received from wcc-imaging.abc.def - <IP ADDRESS> failed hostname verification check. Certificate contained *.abc.def but check expected XXXXXXX.abc.def>
javax.xml.ws.WebServiceException: javax.net.ssl.SSLKeyException: Hostname verification failed: HostnameVerifier=weblogic.security.utils.SSLWLSHostnameVerifier, hostname=wcc-imaging.abc.def.
    at weblogic.wsee.jaxws.spi.WLSProvider.createServiceDelegate(WLSProvider.java:195)
    at weblogic.wsee.jaxws.spi.WLSProvider.createServiceDelegate(WLSProvider.java:150)
    at javax.xml.ws.Service.<init>(Service.java:77)
    at javax.xml.ws.Service.create(Service.java:707)
...
Caused by: javax.net.ssl.SSLKeyException: Hostname verification failed: HostnameVerifier=weblogic.security.utils.SSLWLSHostnameVerifier, hostname=<Host_Name>
    at weblogic.security.SSL.jsseadapter.JaSSLEngine.doPostHandshake(JaSSLEngine.java:686)
    at weblogic.security.SSL.jsseadapter.JaSSLEngine.doAction(JaSSLEngine.java:757)
    at weblogic.security.SSL.jsseadapter.JaSSLEngine.unwrap(JaSSLEngine.java:133)
...

When attempting to connect to the Load Balanced Content Server SSL, URL the following error is returned:

<Aug 10, 2018, 10:29:16,928 AM CDT> <Error> <oracle.dc.admin.view.workspace.WorkspacesManager> <BEA-000000> <Error logging into content server
oracle.odc.exception.CaptureException: Failed to retrieve Content Server data.
    at oracle.odc.commit.cs.ContentCommitConfiguration.login(ContentCommitConfiguration.java:343)
    at oracle.dc.admin.view.commitprofile.ContentServer.ContentServerCommitManager.login(ContentServerCommitManager.java:182)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
...
Caused By: oracle.stellent.ridc.protocol.ProtocolException: javax.net.ssl.SSLKeyException: Hostname verification failed: HostnameVerifier=weblogic.security.utils.SSLWLSHostnameVerifier, hostname=<Host_Name>
    at oracle.stellent.ridc.protocol.http.auth.AuthenticationDetector.determineAuthHandler(AuthenticationDetector.java:88)
    at oracle.stellent.ridc.protocol.http.IdcHttpProtocol.writeRequest(IdcHttpProtocol.java:373)
    at oracle.stellent.ridc.IdcClient.sendRequest(IdcClient.java:198)
    at oracle.stellent.ridc.IdcClient.sendRequest(IdcClient.java:150)
    at oracle.odc.commit.cs.ContentCommitConfiguration.loadContentServerDocMetadata(ContentCommitConfiguration.java:353)
...



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.