This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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: 8836
    
    7

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]
 
wood burning stoves
 
subject: Wblogic 8.1 Enabling SSL
 
Similar Threads
Some problem during startup
NodeManager Error in WLS81
unable to recognize jndi name when using myeclipse3.8.3
Need help with Certificate expired or not yet valid
Problem in generating SSL using Weblogic 8.1 SP5