asha latha wrote:
> I have generated the certificate and added to the JVM cacerts file. 
> These are the steps I followed to do so.
>  
> 1.  >keytool -genkey -alias tomcat -keyalg RSA
>  
> 2. > keytool -export -alias tomcat -file server.crt
>  
> 3. >keytool -import -file server.crt -keystore "C:\Program 
> Files\Java\jre1.5.0_05\lib\security\cacerts"
>  
> Everything went correctly when I gave the above commands and finally I 
> got the response "Certificate was added to keystore" . Then I changed 
> the server.xml file in tomcat.
>  
The steps look correct.

In your SSL connector configuration you posted earlier, try removing the 
keystoreFile and keystorePass attributes.

Note that the commands are modifying two different keystores. Commands 1 
and 2 modify the default keystore. Command 3 modifies the cacerts 
keystore. So, the "tomcat" key only exists in the default keystore, not 
the cacerts keystore.

John
_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas

Reply via email to