<Connector port="8443"
protocol="HTTP/1.1"
SSLEnabled="true" scheme="https" secure="true" clientAuth="true"
sslProtocol="TLS" keystoreType="JKS" keystoreFile="D:/server1.jks" keystorePass="stevex"
truststoreFile="D:/server1.jks" truststorePass="stevex"/>注:增加truststoreFile和truststorePass两个属性,同时clientAuth属性的值更改为true。
3. 运行结果: