jdk 导入cer证书到信任列表
2017-10-20 本文已影响0人
旋转马达
keytool -import -alias localhost -file ./localhost.cer -noprompt -trustcacerts -storetype jks -keystore cacerts -storepass changeit
-storepass changeit 是必须的,changeit 是默认的密码
-file ./localhost.cer 指定cer文件的路径