#SSL Certificates Generation Shell This project only works on Apache Tomcat.
##Envirment
1.openssl
2.jre
##Operating System
1.Linux
2.Mac OS X
3.Windows
##Choose the shell
unix/.sh These shell scripts work on Unix System(Such as Linux or OS X).
windows/.bat These bat scripts work on Windows.
##Get Started
1.Please check the property of 'server_subject' in the scripts,the property of 'CN' means your server ip or domain name.
2.Run generate_ca.* to generate root certificates.(If you already have ca.crt and ca.key ,you can ignore this step.)
3.Run generate_https.* to generate ssl certificates.
At last,add the ca/ca.crt in your devices.and use server/server.keystore in your tomcat.Here is the sample configuration of tomcat's server.xml
<Connector SSLEnabled="true" clientAuth="false" keystoreFile="E:/env/https/server/server.keystore" keystorePass="123456" maxThreads="150" port="443" protocol="org.apache.coyote.http11.Http11Protocol" scheme="https" secure="true" sslProtocol="TLS"/>
##Author
Slevin Hsu
Email:hfxu@rinslet.com
##More Help Please visit rinslet.com