<p>Tomcat 4.0.1 on IBM - AIX 4.3 - SSL Congifuration
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   saigals_singh
Posted On:   Wednesday, January 9, 2002 12:19 PM

Tomcat 4.0.1 on IBM - AIX 4.3 - SSL Congifuration Hi Everyone, I have installed Tomcat 4.0.1 on IBM AIX 4.3. Tomcat as a standalone works fine. I can see the documentation at http://localhost:8443 For SSL configuration, when I uncomment the SSL: -------------------------------------------------------------------------------------------- &lt!-- Define an SSL HTTP/1.1 Connector on port 8443 (Uncommented this entry)--&gt &lt Connector className="org.apache.catalina.connector.http.HttpConnector" port="8443" minProcessors="5" maxProcessors="75" enableLookups="true&quo   More>>

Tomcat 4.0.1 on IBM - AIX 4.3 - SSL Congifuration

Hi Everyone,


I have installed Tomcat 4.0.1 on IBM AIX 4.3.
Tomcat as a standalone works fine. I can
see the documentation at http://localhost:8443


For SSL configuration, when I uncomment the SSL:

--------------------------------------------------------------------------------------------

&lt!-- Define an SSL HTTP/1.1 Connector on port 8443 (Uncommented this entry)--&gt


&lt Connector className="org.apache.catalina.connector.http.HttpConnector"

port="8443" minProcessors="5" maxProcessors="75"

enableLookups="true"

acceptCount="10" debug="0" scheme="https" secure="true" &gt


&lt Factory className="org.apache.catalina.net.SSLServerSocketFactory"

clientAuth="false"

keystoreFile="keys/bbnpacert"

keystorePass="test123"

protocol="TLS" /&gt

&lt /Connector &gt

--------------------------------------------------------------------------------------------


I have ibmjsse.jar in the $JAVA_HOME/jre/lib/ext directory. And in the /usr/java130/lib/security/java.security file I have
the following entries:

--------------------------------------------------------------------------------------------



security.provider.1=sun.security.provider.Sun

security.provider.2=com.ibm.jsse.JSSEProvider

--------------------------------------------------------------------------------------------

I get the following error in catalina.out for SSL configuration
and also cannot view the https://local:8443 - Tomcat crashes:

--------------------------------------------------------------------------------------------



Exception during startup processing

java.lang.reflect.InvocationTargetException: java.lang.NoClassDefFoundError: com/sun/net/ssl/SSLContext

at org.apache.catalina.net.SSLServerSocketFactory.initProxy(SSLServerSocketFactory.java:398)

at org.apache.catalina.net.SSLServerSocketFactory.initialize(SSLServerSocketFactory.java:334)

at org.apache.catalina.net.SSLServerSocketFactory.createSocket(SSLServerSocketFactory.java:287)

at org.apache.catalina.connector.http.HttpConnector.open(HttpConnector.java:946)

at org.apache.catalina.connector.http.HttpConnector.initialize(HttpConnector.java:1114)

at org.apache.catalina.core.StandardService.initialize(StandardService.java:454)

at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:552)

at org.apache.catalina.startup.Catalina.start(Catalina.java:775)

at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)

at org.apache.catalina.startup.Catalina.process(Catalina.java:179)

at java.lang.reflect.Method.invoke(Native Method)

at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)

--------------------------------------------------------------------------------------------

Any pointers/help is appreciated.

   <<Less

Re: <p>Tomcat 4.0.1 on IBM - AIX 4.3 - SSL Congifuration

Posted By:   Tim_Cooke  
Posted On:   Friday, February 22, 2002 05:55 AM

Hi Saigals

The missing class "com/sun/net/ssl/SSLContext" is contained in jsse.jar, which is one of three from the JSSE 1.0.2 distribution that you need to make installed extensions to your JRE installation.

Perhaps you missed out this step?

Regards

Tim Cooke

About | Sitemap | Contact