Error Starting Domain

I'm having a problem importing a certificate into App Server 9.

We got a cert for a NetApp - The NetApp acts as a router to push to a machine and port. Currently the NetApp is set to send the request to 192.168.1.232:443 - which is where the app server is running.

We got the signed certificate from the NetApp and want to install it on the machine with the app server and use it there.

We've imported the certificate using keytool into cacerts.jks and keystores.jks - when we start the server back up, the admin interface hangs and SSL is unable to be reached. We made sure that domain.xml pointed to the alias for the ssl module under https-listerner2. Below is our stack:

[#|2007-07-03T13:48:41.105-0400|SEVERE|sun-appserver-pe9.0|javax.enterprise.sys tem.container.web|_ThreadID=11;_ThreadName=Thread-5;_RequestID=a43a6e98-d689-4e5 b-863f-b77fe811dd87;|WEB0701: Error initializing endpoint

java.io.IOException: Alias name trainingfuture does not identify a key entry

at org.apache.tomcat.util.net.jsse.JSSE14SocketFactory.getKeyManagers(JSSE14Socket Factory.java:143)

at org.apache.tomcat.util.net.jsse.JSSE14SocketFactory.init(JSSE14SocketFactory.ja va:107)

at org.apache.tomcat.util.net.jsse.JSSESocketFactory.createSocket(JSSESocketFactor y.java:103)

at com.sun.enterprise.web.connector.grizzly.SelectorThread.initEndpoint(SelectorTh read.java:607)

at com.sun.enterprise.web.connector.grizzly.GrizzlyHttpProtocol.init(GrizzlyHttpPr otocol.java:119)

at org.apache.coyote.tomcat5.CoyoteConnector.initialize(CoyoteConnector.java:1525)

at com.sun.enterprise.web.connector.coyote.PECoyoteConnector.initialize(PECoyoteCo nnector.java:760)

at org.apache.catalina.startup.Embedded.start(Embedded.java:925)

at com.sun.enterprise.web.WebContainer.start(WebContainer.java:794)

at com.sun.enterprise.web.PEWebContainer.startInstance(PEWebContainer.java:722)

at com.sun.enterprise.web.PEWebContainerLifecycle.onStartup(PEWebContainerLifecycl e.java:72)

at com.sun.enterprise.server.ondemand.ServiceGroup.startLifecycleServices(ServiceG roup.java:266)

at com.sun.enterprise.server.ondemand.WebServiceGroup.startLifecycleServices(WebSe rviceGroup.java:210)

at com.sun.enterprise.server.ondemand.WebServiceGroup.start(WebServiceGroup.java:6 0)

at com.sun.enterprise.server.ondemand.ServiceGroup$1.run(ServiceGroup.java:180)

at java.security.AccessController.doPrivileged(Native Method)

at com.sun.enterprise.server.ondemand.ServiceGroup.startChildren(ServiceGroup.java :177)

at com.sun.enterprise.server.ondemand.MainServiceGroup.start(MainServiceGroup.java :45)

at com.sun.enterprise.server.ondemand.ServerEntryListenerImpl.notifyEntry(ServerEn tryListenerImpl.java:72)

at com.sun.enterprise.server.ondemand.entry.ServerEntryHelper.sendEvent(ServerEntr yHelper.java:62)

at com.sun.enterprise.server.ondemand.entry.ServerEntryHelper.generatePortEntryCon text(ServerEntryHelper.java:43)

at com.sun.enterprise.server.ss.ASSocketService.generateEntryContext(ASSocketServi ce.java:279)

at com.sun.enterprise.server.ss.ASSocketService$EntryPointThread.run(ASSocketServi ce.java:525)

|#]

[#|2007-07-03T13:48:41.111-0400|WARNING|sun-appserver-pe9.0|javax.enterprise.sy stem.stream.err|_ThreadID=11;_ThreadName=Thread-5;_RequestID=a43a6e98-d689-4e5b- 863f-b77fe811dd87;|com.sun.appserv.server.ServerLifecycleException: WEB0105: An error occurred while starting the web container

at com.sun.enterprise.web.PEWebContainer.startInstance(PEWebContainer.java:731)

at com.sun.enterprise.web.PEWebContainerLifecycle.onStartup(PEWebContainerLifecycl e.java:72)

at com.sun.enterprise.server.ondemand.ServiceGroup.startLifecycleServices(ServiceG roup.java:266)

at com.sun.enterprise.server.ondemand.WebServiceGroup.startLifecycleServices(WebSe rviceGroup.java:210)

at com.sun.enterprise.server.ondemand.WebServiceGroup.start(WebServiceGroup.java:6 0)

at com.sun.enterprise.server.ondemand.ServiceGroup$1.run(ServiceGroup.java:180)

at java.security.AccessController.doPrivileged(Native Method)

at com.sun.enterprise.server.ondemand.ServiceGroup.startChildren(ServiceGroup.java :177)

at com.sun.enterprise.server.ondemand.MainServiceGroup.start(MainServiceGroup.java :45)

at com.sun.enterprise.server.ondemand.ServerEntryListenerImpl.notifyEntry(ServerEn tryListenerImpl.java:72)

at com.sun.enterprise.server.ondemand.entry.ServerEntryHelper.sendEvent(ServerEntr yHelper.java:62)

at com.sun.enterprise.server.ondemand.entry.ServerEntryHelper.generatePortEntryCon text(ServerEntryHelper.java:43)

at com.sun.enterprise.server.ss.ASSocketService.generateEntryContext(ASSocketServi ce.java:279)

at com.sun.enterprise.server.ss.ASSocketService$EntryPointThread.run(ASSocketServi ce.java:525)

Caused by: LifecycleException: Protocol handler initialization failed: java.io.IOException: Alias name trainingfuture does not identify a key entry

at org.apache.coyote.tomcat5.CoyoteConnector.initialize(CoyoteConnector.java:1527)

at com.sun.enterprise.web.connector.coyote.PECoyoteConnector.initialize(PECoyoteCo nnector.java:760)

at org.apache.catalina.startup.Embedded.start(Embedded.java:925)

at com.sun.enterprise.web.WebContainer.start(WebContainer.java:794)

at com.sun.enterprise.web.PEWebContainer.startInstance(PEWebContainer.java:722)

... 13 more

-

Any help would be appreciated.

thanks,

[5589 byte] By [BrianBeecha] at [2007-11-27 9:34:39]
# 1

Apparently the SSL cert is IP specific/ OS Specific and/or Web Server specific. I'm not sure what our Net Appliance was running, but I believe it was an apache webserver; which means our cert will not work on Sun App Server 9. We instead got a trial cert from Verisign and generated if for a dev machine and it worked flawlessly.

BrianBeecha at 2007-7-12 22:59:25 > top of Java-index,Java Enterprise System,Java Enterprise System - Installation, Upgrade and Migration...