Securing WLS Fails with Certificate Hostname Verification if OEM is installed with Virtual Hostname

(Doc ID 1580673.1)

Last updated on AUGUST 30, 2013

Applies to:

Enterprise Manager Base Platform - Version to [Release 12.1]
Information in this document applies to any platform.


OEM12c is installed with a virtual hostname.
Third party certificates are being imported to Weblogic Server in OEM as per the steps in Doc ID 1527874.1,but it fails with the error below

<OMS_HOME>/bin>emctl secure wls -jks_loc <location of keystore containing the custom certificate> -jks_pvtkey_alias alias for server certificate [-jks_pwd <keystore passwd>] [-jks_pvtkey_pwd <private key passwd>]
Oracle Enterprise Manager Cloud Control 12c Release 2
Copyright (c) 1996, 2012 Oracle Corporation. All rights reserved.
Securing WLS... Started.
Enter JKS Password :
Enter Private Key Password :
<May 3, 2013 7:33:59 PM IST> <Warning> <Security> <BEA-090504> <Certificate chain received from <VIRTUAL HOSTNAME> - failed hostname verification check. Certificate contained <PHYSICAL HOSTNAME> but check expected <VIRTUAL HOSTNAME>>
Securing WLS... Failed. Check the log /u03/12c2vh/Middleware/gc_inst/em/EMGC_OMS1/sysman/log/secure.log


Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms