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>