tomcat 配置https

阅读更多

 

server.xml:

         maxThreads="1000" maxPostSize="0" scheme="https" secure="true"
      compression="on" compressionMinSize="2048" compressableMimeType="text/html,text/xml,text/javascript,text/css,text/plain,application/json" useSendfile="false"
      clientAuth="false" sslProtocol="TLS" keystoreFile="conf/127.0.0.1.jks" keystorePass="123456" truststoreFile="conf/127.0.0.1.jks"/>
    

 

web.xml:绑定https的请求

 
  
   SSL
   /ssl/*
  

  
   CONFIDENTIAL
  

 

 

 

 

 

 

 

 

 

你可能感兴趣的:(tomcat 配置https)