I struggled more than I should have trying to get an SSL certificate installed for HTTPS. So hopefully this will make it easy for anyone else seeking to do so. I bought an SSL certificate from godaddy.com (<$30 for 1 year). Here are the instructions that worked for me.
My Configuration: Tomcat 6.0.18 stand alone web server (your CN name on the certificate MUST match your domain). It is easiest to do all of this on the server you will be running on.
1) Generate your private key (keytool is in your java_home/bin directory):
keytool -genkey -alias tomcat -keyalg RSA
**This will put the key in your .keystore in your home directory (or in Windows--C:\Documents and Settings\<User_name>. Once again, make sure your common name (this is your CN, you are asked for your first and last name) matches your domain you will be using (mydomain.com).
2) Generate the CSR:
keytool -certreq -keyalg RSA -alias tomcat -file your_file_name_here.csr
3) Buy your SSL certficate and you will be asked to copy and paste your CSR.
4) When you have your zip file extracted from GoDaddy, do the following to import the certificate into your keystore (all the .crt files are in the zip file):
keytool -import -alias root -trustcacerts -file gd_bundle.crt
keytool -import -alias cross -trustcacerts -file gd_cross_intermediate.crt
keytool -import -alias intermed -trustcacerts -file gd_intermediate.crt
keytool -import -alias tomcat -trustcacerts -file
www.YourDomain.com.crt5) Update Server.xml in tomcat\conf folder;
<Connector protocol="org.apache.coyote.http11.Http11Protocol"
port="443" minSpareThreads="5" maxSpareThreads="75"
enableLookups="true" disableUploadTimeout="true"
acceptCount="100" maxThreads="200"
scheme="https" secure="true" SSLEnabled="true"
keystoreFile="c:\documents and settings\<user>\.keystore" or wherever you copy it to
keystorePass="<whatever password you chose when creating your key in the beginning"
clientAuth="false" sslProtocol="TLS"/>
It was a breeze once I followed these instructions. Make sure you change your HTTPS options in your konakartadmin to match the same port (in my example 443).
Good luck!