I am trying to install a verisign certifcate and I am getting the following
error:
<Apr 27, 2001 1:38:36 PM PDT> <Alert> <WebLogicServer> <Security
configuration problem with certificate file config/mydomain/www-key.der,
java.io.IOException: weblogic.security.CipherException: Invalid padding
length 10>
java.io.IOException: weblogic.security.CipherException: Invalid padding
length 10
at
weblogic.security.RSAPrivateKeyPKCS8.input(RSAPrivateKeyPKCS8.java:157)
at
weblogic.security.RSAPrivateKeyPKCS8.<init>(RSAPrivateKeyPKCS8.java:125)
at weblogic.t3.srvr.SSLListenThread.<init>(SSLListenThread.java:387)
at weblogic.t3.srvr.SSLListenThread.<init>(SSLListenThread.java:297)
at weblogic.t3.srvr.T3Srvr.initializeListenThreads(T3Srvr.java:942)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:403)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:169)
at weblogic.Server.main(Server.java:35)
I provided a private key password when generating the CSR and have enabled
"Use Encrypted Keys" Box in SSL console and
supplied -Dweblogic.management.pkpassword=<passwd> in startup script. Also
here is config.xml snippet:
<---snip--->
<SSL Enabled="true" KeyEncrypted="true" ListenPort="7002"
Name="myserver"
ServerCertificateChainFileName="config/mydomain/ca.pem"
ServerCertificateFileName="config/mydomain/www_cert.pem"
ServerKeyFileName="config/mydomain/www_key.der"/>
<---snip--->
Anyone know what is causing this?
Thanks!