Skip to Main Content

Java Security

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

help - "Alias name xxxxx does not identify a key entry"

843811Mar 18 2008 — edited Mar 19 2008
Hello,

I am using Sun App Server 9.1 update 1, trying to import a signed certificate into my keystore.jks keystore. If I generate self-signed certificates, they work fine, but any key that I import into my keystore fails to work - the server won't start at all and throws the error below. My command to import is as follows:

keytool -import -alias testkate -file signedcert.cer -keystore keystore.jks

I have tried this with certificates signed by our own signing authority within the company, and with a verisign trial certificate. Has anyone run across this error? How did you solve it? I have a case open with Sun but I'm hoping someone has an answer before they get back to me.

Thanks,
Kate


An error occured during initialization
com.sun.appserv.server.ServerLifecycleException: WEB0105: An error occurred while start
ing the web container
at com.sun.enterprise.web.PEWebContainer.startInstance(PEWebContainer.java:799)
at com.sun.enterprise.web.PEWebContainerLifecycle.onStartup(PEWebContainerLifec
ycle.java:84)
at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java
:442)
at com.sun.enterprise.server.ondemand.OnDemandServer.onStartup(OnDemandServer.j
ava:120)
at com.sun.enterprise.server.PEMain.run(PEMain.java:411)
at com.sun.enterprise.server.PEMain.main(PEMain.java:338)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.enterprise.server.PELaunch.main(PELaunch.java:412)
Caused by: LifecycleException: PWC3985: Protocol handler initialization failed: java.i
o.IOException: PWC5330: Alias name testkate does not identify a key entry
at org.apache.coyote.tomcat5.CoyoteConnector.initialize(CoyoteConnector.java:16
13)
at com.sun.enterprise.web.connector.coyote.PECoyoteConnector.initialize(PECoyot
eConnector.java:791)
at org.apache.catalina.startup.Embedded.start(Embedded.java:928)
at com.sun.enterprise.web.WebContainer.start(WebContainer.java:873)
at com.sun.enterprise.web.PEWebContainer.startInstance(PEWebContainer.java:790)
... 10 more
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 16 2008
Added on Mar 18 2008
2 comments
1,701 views