I has three files(*.der, *.pem, *.pem)generated by weblogic certificate sevlet. And I has also got file from verisign throuth my CSR file. But when I give the *.der file to server key file name field on the console, some error occur in my weblogic:
<2002-6-12 %u4E0A%u534811%u65F622%u520614%u79D2> <Alert> <WebLogicServer> <Security configuration pr
oblem with certificate file config/mydomain/eintech-key.der, java.io.EOFExceptio
n>
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:397)
at weblogic.t3.srvr.SSLListenThread.<init>(SSLListenThread.java:300)
at weblogic.t3.srvr.T3Srvr.initializeListenThreads(T3Srvr.java:1045)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:480)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:202)
at weblogic.Server.main(Server.java:35)
I don't know where is the error raise? help me?
Just a guess, but sometimes this happens when the .der file is actually in .pem format, or vice versa. You might try changing the name of the cert to .pem, specify it in the console and see if that helps.
You also might get a better answer posting this question on the security newsgroup.
Regards,
Michael
javachina wrote:
> I has three files(*.der, *.pem, *.pem)generated by weblogic certificate sevlet. And I has also got file from verisign throuth my CSR file. But when I give the *.der file to server key file name field on the console, some error occur in my weblogic:
>
> <2002-6-12 %u4E0A%u534811%u65F622%u520614%u79D2> <Alert> <WebLogicServer> <Security configuration pr
> oblem with certificate file config/mydomain/eintech-key.der, java.io.EOFExceptio
> n>
> 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:397)
> at weblogic.t3.srvr.SSLListenThread.<init>(SSLListenThread.java:300)
> at weblogic.t3.srvr.T3Srvr.initializeListenThreads(T3Srvr.java:1045)
> at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:480)
> at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:202)
> at weblogic.Server.main(Server.java:35)
>
> I don't know where is the error raise? help me?
--
Michael Young
Developer Relations Engineer
BEA Support