tomcat 配置域名证书

tomcat 配置域名证书

示例:

    <!-- http  -->
<Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" />
<!-- https --> <Connector port="8443" protocol="org.apache.coyote.http11.Http11NioProtocol" maxThreads="150" SSLEnabled="true" scheme="https" secure="true"> <SSLHostConfig> <Certificate certificateKeystoreFile="conf/cert/server.pfx" certificateKeystorePassword="666666" type="RSA"/> </SSLHostConfig> </Connector>

# conf/cert/server.pfx - 证书路径;tomcat 主目录下
#
certificateKeystorePassword 证书密码

 

posted @ 2019-08-16 20:22  01234567  阅读(1208)  评论(0编辑  收藏  举报