Bug 45500 - Error wjile implement HTTPS on IBM AIX Box - SunX509 KeyManagerFactory not available
Summary: Error wjile implement HTTPS on IBM AIX Box - SunX509 KeyManagerFactory not av...
Status: RESOLVED FIXED
Alias: None
Product: Tomcat 5
Classification: Unclassified
Component: Catalina (show other bugs)
Version: Unknown
Hardware: Other AIX
: P1 critical (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords: ErrorMessage
Depends on:
Blocks:
 
Reported: 2008-07-30 02:35 UTC by Thiru
Modified: 2008-07-30 10:50 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thiru 2008-07-30 02:35:22 UTC
I am trying to implement HTTPS for Tomcat5 server in IBM AIX Version 5.3 (AIX Version 5.3 TL07 SP04 (64 bit)).
JVM - IBM Java 5.0
Tomcat Version - 5.2





I am getting the following error 

Jul 30, 2008 2:05:42 AM org.apache.coyote.http11.Http11BaseProtocol start
SEVERE: Error starting endpoint
java.io.IOException: SunX509 KeyManagerFactory not available
	at org.apache.tomcat.util.net.jsse.JSSE14SocketFactory.init(JSSE14SocketFactory.java:126)
	at org.apache.tomcat.util.net.jsse.JSSESocketFactory.createSocket(JSSESocketFactory.java:89)
	at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:293)
	at org.apache.tomcat.util.net.PoolTcpEndpoint.startEndpoint(PoolTcpEndpoint.java:313)
	at org.apache.coyote.http11.Http11BaseProtocol.start(Http11BaseProtocol.java:151)
	at org.apache.coyote.http11.Http11Protocol.start(Http11Protocol.java:76)
	at org.apache.catalina.connector.Connector.start(Connector.java:1090)
	at org.apache.catalina.core.StandardService.start(StandardService.java:457)
	at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:618)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
Jul 30, 2008 2:05:42 AM org.apache.catalina.startup.Catalina start
SEVERE: Catalina.start: 
LifecycleException:  service.getName(): "Catalina";  Protocol handler start failed: java.io.IOException: SunX509 KeyManagerFactory not available
	at org.apache.catalina.connector.Connector.start(Connector.java:1097)
	at org.apache.catalina.core.StandardService.start(StandardService.java:457)
	at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:618)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
Jul 30, 2008 2:05:42 AM org.apache.catalina.startup.Catalina start




can any one please resolve this
Comment 1 Mark Thomas 2008-07-30 02:41:38 UTC
This is covered in the connector docs. See http://tomcat.apache.org/tomcat-5.5-doc/config/http.html
Comment 2 Thiru 2008-07-30 10:50:00 UTC
modified Server.xml by adding this attribute to HTTPS Connector

algorithm="IbmX509"