1.将jks证书复制到conf目录下
2.解除注释:88行至96行
修改代码
<Connector port="443" protocol="org.apache.coyote.http11.Http11NioProtocol" maxThreads="150" SSLEnabled="true" defaultSSLHostConfigName="www.kjch.xyz" > <SSLHostConfig hostName="www.kjch.xyz" > <Certificate certificateKeystoreFile="conf/www.kjch.xyz.jks" certificateKeystorePassword="q75f4wl64u5" type="RSA" /> </SSLHostConfig> </Connector>
原文地址:https://www.cnblogs.com/max-hou/p/11663563.html
时间: 2024-10-16 11:11:38