Last updated on MARCH 17, 2020
Applies to:
Siebel CRM - Version 17.6 [IP2017] and laterInformation in this document applies to any platform.
@AMAR DEVEGOWDAI think the only issue with the doc is to say to use the same password for both the PKCS12 file and JKS file, correct? Cd standalone/configuration keytool -genkeypair -keystore server.keystore -alias test -keyalg RSA -keysize 3072 -validity 36500 -storepass 123456 -keypass 123456 -dname 'CN=test, OU=QE, O=Redhat, L=Brno, C=CZ'. Java.security.UnrecoverableKeyException while using credential store to encrypt keystore password in JBoss EAP 7. Solution Verified - Updated 2019-04-19T06:52:22+00:00. AlarmClock; BlockedNumberContract; BlockedNumberContract.BlockedNumbers; Browser; CalendarContract; CalendarContract.Attendees; CalendarContract.CalendarAlerts.
Symptoms
Java.security.unrecoverablekeyexception Password Verification Failed
![Java Security Unrecoverablekeyexception Java Security Unrecoverablekeyexception](/uploads/1/2/6/3/126347222/106495072.png)
After replacing the old self-signed certificates with new public certificates and importing them in the .jks store file, Tomcat is failing
STEPS
-----------------------
1. Stop Siebel components
2. Edit server.xml to point to the new Public .jks file ( no need to change the store password as it same)
3. Restart the Siebel Components
4. Siebel SMC is not loading and Tomcat is displaying the following errors:
STEPS
-----------------------
1. Stop Siebel components
2. Edit server.xml to point to the new Public .jks file ( no need to change the store password as it same)
3. Restart the Siebel Components
4. Siebel SMC is not loading and Tomcat is displaying the following errors:
java.lang.IllegalArgumentException: java.security.UnrecoverableKeyException: Cannot recover key
...
Caused by: java.security.UnrecoverableKeyException: Cannot recover key
at sun.security.provider.KeyProtector.recover(KeyProtector.java:328)
at sun.security.provider.JavaKeyStore.engineGetKey(JavaKeyStore.java:138)
at sun.security.provider.JavaKeyStore$JKS.engineGetKey(JavaKeyStore.java:55)
at java.security.KeyStore.getKey(KeyStore.java:1023)
at sun.security.ssl.SunX509KeyManagerImpl.(SunX509KeyManagerImpl.java:133)
at sun.security.ssl.KeyManagerFactoryImpl$SunX509.engineInit(KeyManagerFactoryImpl.java:70)
at javax.net.ssl.KeyManagerFactory.init(KeyManagerFactory.java:256)
at org.apache.tomcat.util.net.jsse.JSSEUtil.getKeyManagers(JSSEUtil.java:216)
...
Caused by: java.security.UnrecoverableKeyException: Cannot recover key
at sun.security.provider.KeyProtector.recover(KeyProtector.java:328)
at sun.security.provider.JavaKeyStore.engineGetKey(JavaKeyStore.java:138)
at sun.security.provider.JavaKeyStore$JKS.engineGetKey(JavaKeyStore.java:55)
at java.security.KeyStore.getKey(KeyStore.java:1023)
at sun.security.ssl.SunX509KeyManagerImpl.(SunX509KeyManagerImpl.java:133)
at sun.security.ssl.KeyManagerFactoryImpl$SunX509.engineInit(KeyManagerFactoryImpl.java:70)
at javax.net.ssl.KeyManagerFactory.init(KeyManagerFactory.java:256)
at org.apache.tomcat.util.net.jsse.JSSEUtil.getKeyManagers(JSSEUtil.java:216)
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! |
Java.security.unrecoverablekeyexception: Password Must Not Be Null
Symptoms |
Java.security.unrecoverablekeyexception: Password Verification Failed
Cause |
Java.security.unrecoverablekeyexception Failed To Decrypt Safe Contents Entry
Solution |