While attempting to start Weblogic Managed Server for OAM, I received below error
<09-Jun-2015 13:26:46 o'clock BST> <Warning> <Security> <BEA-090504> <Certificate chain received from oraworld.com - 192.168.0.19 failed hostname verification check. Certificate contained iam.oraworld.com but check expected oraworld.com>
This error basically means that when Weblogic Server tries to validate the certificate, it compares the CN of the certificate with the hostname from where the request is coming from. If they don’t match, hostname verification fails and SSL connection is not established.
To resolve this issue, you can turn off host name verification in one of the following ways:
a) From Command Line
b) From Weblogic Console
- If you have not already done so, in the Change Center of the Administration Console, click Lock & Edit
- In the left pane of the Console, expand Environment and select Servers.
- Click the name of the server for which you want to disable hostname verification.
- Select Configuration > SSL , and click Advanced at the bottom of the page.
- Set the Hostname Verification field to None.
Oracle recommends leaving host name verification on in production environments.
- Click Save.
- To activate these changes, in the Change Center of the Administration Console, click Activate Changes.
- Restart Server for changes to take place.