(1)显示当前证书
keytool --list -rfc -keystore trustedCert.jks
(2)删除旧证书
keytool -delete -alias net_server -keystore trustedCert.jks
(3)导入更新以后的证书
keytool -import -trustcacerts -alias net_server -keystore trustedCert.jks -file net.cer
时间: 2024-10-10 10:45:47