* How to patch DemoIdentity.jks with a new host name?
The Problem:
Security:090504Certificate chain received from localhost - 127.0.0.1 failed hostname verification check. Certificate contained foo.adm.tst.us.company.net but check expected localhost
The Solution (Windows):
cd %BEA_HOME%/weblogic92/server/lib/
. ../bin/setWLSEnv.cmd
java utils.CertGen -cn <correct host name> -keyfilepass DemoIdentityPassPhrase -certfile testcert -keyfile testkey
java utils.ImportPrivateKey newkeystore.jks DemoIdentityKeyStorePassPhrase demoidentity DemoIdentityPassPhrase testcert.pem testkey.pem
keytool -v -list -keystore newkeystore.jks -storepass DemoIdentityKeyStorePassPhrase
cp newkeystore.jks DemoIdentity.jks
[Source: http://forums.oracle.com/forums/thread.jspa?threadID=685256&tstart=15 ]
The Problem:
Security:090504Certificate chain received from localhost - 127.0.0.1 failed hostname verification check. Certificate contained foo.adm.tst.us.company.net but check expected localhost
The Solution (Windows):
cd %BEA_HOME%/weblogic92/server/lib/
. ../bin/setWLSEnv.cmd
java utils.CertGen -cn <correct host name> -keyfilepass DemoIdentityPassPhrase -certfile testcert -keyfile testkey
java utils.ImportPrivateKey newkeystore.jks DemoIdentityKeyStorePassPhrase demoidentity DemoIdentityPassPhrase testcert.pem testkey.pem
keytool -v -list -keystore newkeystore.jks -storepass DemoIdentityKeyStorePassPhrase
cp newkeystore.jks DemoIdentity.jks
[Source: http://forums.oracle.com/forums/thread.jspa?threadID=685256&tstart=15 ]