作者:じ☆ve宝贝
发布时间:2016-10-24T19:33:58
openssl pkcs12 -export -in 2_www.studyjava.cn.crt -inkey www.studyjava.cn.key -out mycert.p12 -name tomcat -CAfile myCA.crt
keytool -importkeystore -v -srckeystore mycert.p12 -srcstoretype pkcs12 -srcstorepass password -destkeystore tomcat.keystore -deststoretype jks -deststorepass password
<Connector port="443" protocol="org.apache.coyote.http11.Http11Protocol"
maxThreads="150" SSLEnabled="true" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLS"
keystoreFile="/tomcat/keys/20161024www.studyjava.cn.keystore"
keystorePass="password" />