Tomcat9.0.0M4 配置https证书

一、http端口重定向

 

<Connector port="8088" protocol="HTTP/1.1"
               connectionTimeout="20000"
               redirectPort="9443" />

二、配置https证书

<Connector port="9443" protocol="org.apache.coyote.http11.Http11NioProtocol"  maxThreads="150" SSLEnabled="true">
        <SSLHostConfig>
            <Certificate certificateKeystoreFile="conf/×××.jks"
              certificateKeystorePassword="haier" certificateKeyAlias="×××" type="RSA" /> </SSLHostConfig> </Connector>
certificateKeystoreFile:jks文件所在路径
certificateKeystorePassword:证书密码
certificateKeyAlias:证书别名

Tomcat9.0.0M4 配置https证书

上一篇:CSS概述


下一篇:解决mininet运行报错“ImportError: No module named mininet.log”