Tomcat添加SSL安全认证
环境
Tomcat7、阿里SSL证书
server.xml
<Connector port="443" protocol="org.apache.coyote.http11.Http11Protocol"
maxThreads="150" SSLEnabled="true" scheme="https" secure="false"
clientAuth="false" sslProtocol="TLS"
keystoreFile="C:\a.pfx"
keystorePass="你的密码" />
注意:https默认端口号为443