Java Web Keytool Ssl
约 87 字
预计阅读 1 分钟
次阅读
1
2
3
4
5
6
7
|
导入:keytool -import -keystore "C:\Program Files (x86)\Java\jre6\lib\security\cacerts" -storepass changeit -keypass changeit -alias emailcert -file test.cer
移除:keytool -delete -alias emailcert -keystore "C:\Program Files (x86)\Java\jre6\lib\security\cacerts" -storepass changeit
keytool -import -alias cacerts -keystore cacerts -file /etc/pki/tls/certs/sha256.cer -trustcacerts
keytool -import -alias otrskey -file otrs/server.crt
keytool -import -alias otrscert -keystore cacerts -file /etc/pki/tls/certs/server.crt -trustcacerts
|