posted 21 years ago
Hi,
i tried to create a private key with openssl for my weblogic 6.1 server but got the following exception:
<04.09.2002 12:10:16 CEST> <Alert> <WebLogicServer> <Security configuration problem with certificate file ./config/MyDomain/
MyKey.pem, java.io.EOFException>
java.io.EOFException
at weblogic.security.Utils.inputByte(Utils.java:133)
at weblogic.security.ASN1.ASN1Header.inputTag(ASN1Header.java:125)
at weblogic.security.ASN1.ASN1Header.input(ASN1Header.java:119)
at weblogic.security.RSAPrivateKey.input(RSAPrivateKey.java:119)
at weblogic.security.RSAPrivateKey.<init>(RSAPrivateKey.java:91)
at weblogic.t3.srvr.SSLListenThread.<init>(SSLListenThread.java:398)
at weblogic.t3.srvr.SSLListenThread.<init>(SSLListenThread.java:301)
at weblogic.t3.srvr.T3Srvr.initializeListenThreads(T3Srvr.java:1097)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:490)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:206)
at weblogic.Server.main(Server.java:35)
i used the openssl commands:
openssl genrsa -out MyKey.key 512
to create a 512 bit rsa key and afterwards:
openssl pkcs8 -in MyKey.key -outform PEM -out MyKey.pem -topk8
to create a PKCS#5/PKCS#8 formattet key
does anyone have an idea what i did wrong?
thx, David
[ September 04, 2002: Message edited by: David Schmelter ]