Hostname Mismatch Errors

If the hostname in the Certificate generated by WebSphere or WebLogic does not exactly match the Fully Qualified Hostname of the Server Manager Console machine, then you will see the type of errors listed below in the Server Manager Agent stderr.log/e1agent.logs.

In this case a valid Self Signed Certificate will need to be created using the keytool utility and imported into the WebLogic Custom Truststore and Custom Keystore, and WebLogic will need to be configured to use the Custom Truststore and Custom Keystore. Similarly on WebSphere, a Self Signed Certificate will need to be created and will need to be imported. trust.p12 and key.p12 files and will need to be set as the default Certificate using the iKeyMan.bat/.sh utility. This Self Signed Certificate will also need to be imported in the cacerts file of the Server Manager Agents.

javax.net.ssl.SSLException: hostname in certificate didn't match: <10.139.162.143> != <denpbds11.example.com> at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:227) at org.apache.http.conn.ssl.BrowserCompatHostnameVerifier.verify(BrowserCompatHostnameVerifier.java:54) at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:147) at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:128) at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:437) at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:180) at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:294) at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:643) at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:479) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:805) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:784) at com.jdedwards.mgmt.agent.UserPasswordCallBack._getUserCredentials(UserPasswordCallBack.java:40) at com.jdedwards.mgmt.agent.UserPasswordCallBack.<init>(UserPasswordCallBack.java:31) at com.jdedwards.mgmt.agent.E1Agent$ManagementServerDaemonThread.run(E1Agent.java:2259) at java.lang.Thread.run(Thread.java:722)