http转为https

   <Connector port="8443"  address="0.0.0.0" protocol="org.apache.coyote.http11.Http11NioProtocol" maxHttpHeaderSize="8192" maxThreads="150" minSpareThreads="25" maxSpareThreads="75" enableLookups="false" disableUploadTimeout="true" acceptCount="100" SSLEnabled="true" scheme="https" secure="true" URIEncoding="utf-8" clientAuth="false" sslProtocol="TLS"
        keystoreFile="d:/studio/code/key/taocity.keystore" 

        keystorePass="taocity@20180524"/>

在jdk所在bin目录下运行下面的语句。(keystoreFile文件所在地址)

 keytool -genkey -alias taocity -keyalg RSA -keystore d:\studio\code\key\taocity.keystore

猜你喜欢

转载自blog.csdn.net/javascript_sky/article/details/80571749