1.Tomcat服务部署成https
找到conf/server.xml,在服务端口的Connector里添加上以下属性,然后重启服务,访问协议将由http将变为https
<Connector port="8080" protocol="hTTP/1.1"
connectionTimeout="20000"
redirectPort="8443"
SSLEnabled="true"
scheme="https"
secure="true"
clientAuth="true"
sslProtocol="TLS"
keystoreFile="F:\apa