<Connector port="443" protocol="HTTP/1.1" SSLEnabled="true" maxThreads="150" scheme="https" secure="true" clientAuth="false" sslProtocol="TLS" keystoreFile="/usr/share/tomcat7/conf/.keystore" keystorePass="sunyainfo.com"/> keystoreFile : cer path keystorePass:cer password
- 配置80端口,将8080改成80, redirectPort为443 <Connector port="80" protocol="HTTP/1.1" connectionTimeout="20000" URIEncoding="UTF-8" redirectPort="443" />
- 配置8009端口重定向 <Connector port="8009" protocol="AJP/1.3" redirectPort="443" />
- 在 $TOMCAT_HOME/bin/web.xml中加入以下配置,禁止http访问 <security-constraint> <web-resource-collection > <web-resource-name >SSL</web-resource-name> <url-pattern>/*</url-pattern> </web-resource-collection> <user-data-constraint> <transport-guarantee>CONFIDENTIAL</transport-guarantee> </user-data-constraint> </security-constraint>
标签:IM enabled home file store threads CTI ide int