美文网首页
Tomcat HTTPS 支持

Tomcat HTTPS 支持

作者: 峰远 | 来源:发表于2016-12-08 17:47 被阅读0次
<Connector port="8443" protocol="org.apache.coyote.http11.Http11NioProtocol"
   maxThreads="150" SSLEnabled="true" scheme="https" secure="true"
   clientAuth="false" sslProtocol="TLS"
   keystoreFile="/Library/Tomcat/conf/key/tomcat.keystore" keystorePass="123456"
  />
http https 同时支持
<Connector port="8080" protocol="HTTP/1.1"
           connectionTimeout="20000"
           redirectPort="8443" />
<Connector executor="tomcatThreadPool"
           port="8080" protocol="HTTP/1.1"
           connectionTimeout="20000"
           redirectPort="8443" />
<Connector port="8443" protocol="org.apache.coyote.http11.Http11NioProtocol"
   maxThreads="150" SSLEnabled="true" scheme="https" secure="true"
   clientAuth="false" sslProtocol="TLS"
   keystoreFile="/Library/Tomcat/conf/key/tomcat.keystore" keystorePass="123456"
  />

相关文章

网友评论

      本文标题:Tomcat HTTPS 支持

      本文链接:https://www.haomeiwen.com/subject/uppsmttx.html