天天看點

SSL/TLS Configuration HOW-TO

<a href="https://tomcat.apache.org/tomcat-8.0-doc/ssl-howto.html" target="_blank">https://tomcat.apache.org/tomcat-8.0-doc/ssl-howto.html</a>

The description below uses the variable name $CATALINA_BASE to refer the    base directory against which most relative paths are resolved. If you have    not configured Tomcat for multiple instances by setting a CATALINA_BASE    directory, then $CATALINA_BASE will be set to the value of $CATALINA_HOME,    the directory into which you have installed Tomcat.

To install and configure SSL/TLS support on Tomcat, you need to follow these simple steps.  For more information, read the rest of this HOW-TO.

Create a keystore file to store the server's private key and self-signed certificate by executing the following command:

Windows:

Unix:

and specify a password value of "changeit".

本文轉自 h2appy  51CTO部落格,原文連結:http://blog.51cto.com/h2appy/1651844,如需轉載請自行聯系原作者

繼續閱讀