Tomcat 配置SSL证书

将颁发的www.123admin.com_tomcat.jks证书(keystore密码:123456)文件复制到tomcat目录下,用文本编辑器打开server.xml并更新以下内容

<Connector port="443" protocol="org.apache.coyote.http11.Http11Protocol"
maxThreads="150" SSLEnabled="true" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLS" keystoreFile="www.123admin.com_tomcat.jks" keystorePass="123456" />

重启tomcat,访问 https://www.123admin.com/ 即可