You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Chuck Amadi <ch...@breconbeacons.org> on 2002/01/04 13:53:17 UTC

Newbie at SSL utilising Tomcat 4 - https & http Not functioning properly

I have generated a cert with our own public key and told IE 5 directly that 
we should be treated as a trusted CA.This was done by using the Keytool 
utility to export my cert:

Thus i was able to export my standard Base64 encoded cert . into a file called my.cert.
Thus in IE 5 . I used the foloowing steps.

Tools > Internet Options >Content Tab >Certificates button on  Content tab >
Select Trusted Root Certification Authorities tab > Click Import > Thus used 
and completed the Wizard to Import the my.cer file

Qustion 1. Is there a way to import a certificate (my.cert) as above in Mozilla 0.96
Mozilla > View > Edit > Preferences > Privacy & Security > Certificates > Manage Certificates
Thus im stuck as there is no Import feature or wizard - So do i ( dnd ).

Question 2. In My Tomact 4 Dir , I have created a Key Folder to store my certs & private keys
C:\Jakarta-tomcat-4.0.1\keys\my.cert 
C:\Jakarta-tomcat-4.0.1\keys\mykeys

Nevertheless on excuting https://localhost:8443/ & http://localhost:8080/
I am unable to request the ip address. ie states it's connecting to ie 127.0.0.1
No yellow lock icon on the status bar in relation to https and on http my port 8080 
The Error message
- The connection was refused when attempting to contact localhost:8080 .

Config / SSL Connector ( Tomcat4/conf/server.xml )Created a Keystore to store cert & key

 <!-- Define an SSL HTTP/1.1 Connector on port 8443 (Uncommented this entry)-->
   
    <Connector className="org.apache.catalina.connector.http.HttpConnector"
               port="8443" minProcessors="5" maxProcessors="75"
               enableLookups="true"
	       acceptCount="10" debug="0" scheme="https" secure="true">
      <Factory className="org.apache.catalina.net.SSLServerSocketFactory"
                clientAuth="false"
		keystoreFile="keys/mycert"
                keystorePass="test123"
		protocol="TLS"/>
    </Connector>

Please send pointers 



--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>