前提条件。最低必须是tomcat8.5。jkd最低是1.7
配置server.xml。如下
<Connector port="443"
defaultSSLHostConfigName="www.xuelingxiu.com"
protocol="org.apache.coyote.http11.Http11Nio2Protocol"
maxThreads="150"
SSLEnabled="true">
<SSLHostConfig hostName="www.xuelingxiu.com">
<Certificate certificateKeystoreFile="/cert/***.jks" certificateKeystorePassword="***" type="RSA" />
</SSLHostConfig>
<SSLHostConfig hostName="www.zijizhibing.com">
<Certificate certificateKeystoreFile="/cert2/***.jks" certificateKeystorePassword="***" type="RSA" />
</SSLHostConfig>
</Connector>
虽然不知道说的是什么,但看起来好厉害的样子!