File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes BEA/Weblogic and the fly likes Wblogic 8.1 Enabling SSL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Wblogic 8.1 Enabling SSL" Watch "Wblogic 8.1 Enabling SSL" New topic
Author

Wblogic 8.1 Enabling SSL

Krish Dev
Greenhorn

Joined: May 30, 2006
Posts: 6
Hi All,

We are tring to bring-up the weblogic 8.1 in the SSL port. When we started the server we are getting the following exception. Please advice how to create the private key.

FYI - We craeted the public key using the java keytool.

<Error> <WebLogicServer> <BEA-000297> <Inconsistent security configuration, java.lang.Exception: [Security:090426]Cannot read private key from file /rcctreg1/wls81/domains/rcct2domain/rcct2keystore. Make sure password specified in environment property weblogic.management.pkpassword is valid. Exception is ASN.1: Lengths longer than 32 bits are not supported>
<Sep 1, 2006 9:59:41 PM SGT> <Debug> <TLS> <000000> <SSLListenThread: inconsistent configuration
java.lang.Exception: [Security:090426]Cannot read private key from file /rcctreg1/wls81/domains/rcct2domain/rcct2keystore. Make sure password specified in environment property weblogic.management.pkpassword is valid. Exception is ASN.1: Lengths longer than 32 bits are not supported

Thanks,
Krish
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8876
    
    8

If you created a public key using Java's keytool, the private key is in the corresponding keystore. You need to point Weblogic to that keystore. Have a look at:
Obtaining Private Keys, Digital Certificates, and Trusted Certificate Authorities
Configure Identity and Trust
[ September 05, 2006: Message edited by: Joe Ess ]

"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
 
 
subject: Wblogic 8.1 Enabling SSL