美文网首页
jdk 导入cer证书到信任列表

jdk 导入cer证书到信任列表

作者: 旋转马达 | 来源:发表于2017-10-20 10:08 被阅读0次
keytool -import -alias localhost -file ./localhost.cer -noprompt -trustcacerts -storetype jks -keystore cacerts -storepass changeit

-storepass changeit 是必须的,changeit 是默认的密码

-file ./localhost.cer 指定cer文件的路径

相关文章

网友评论

      本文标题:jdk 导入cer证书到信任列表

      本文链接:https://www.haomeiwen.com/subject/ssvmuxtx.html