How to apply a free third party CA and set up Tomcat SSL with it
Posted
by lenny
on Stack Overflow
See other posts from Stack Overflow
or by lenny
Published on 2010-03-19T15:18:55Z
Indexed on
2010/03/19
15:21 UTC
Read the original article
Hit count: 358
These days I tried to apply a free third pary CA ( www.cacert.org & www.freeca.cn ) and then set up Tomcat SSL with the CA. My purpose is to eliminate the "Certificate Error" page when accessing https://... from a client browser. But it's a little hard for me to get around it.
My steps to apply a free CA, from www.freeca.cn
I used keytool to generate a cer file with command:
keytool -genkey ... // Generate a key
keytool -certreq ... // Generate a cert file
and then I got some code from the cert file, and paste onto www.freeca.cn to generate a cer file. Then I imported the cer file
keytool -import -alias abc -file MyABC.cer -keystore mykeystorefile.store
And then I set up the mykeystorefile.store into tomcat /conf/server.xml, but it didn't work, sill pop "Certificate Error" page when trying to access https://....
Can someone help me? Thanks
© Stack Overflow or respective owner