keytool -import -alias localhost -file ./localhost.cer -noprompt -trustcacerts -storetype jks -keystore cacerts -storepass changeit
-storepass changeit 是必须的,changeit 是默认的密码
-file ./localhost.cer 指定cer文件的路径
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
网友评论