keytool

http://www.cnblogs.com/langtianya/p/3334493.html
https://zhidao.baidu.com/question/1541644464333140107.html

Here are some common commands:

//View the list of certificates in cacerts:

              keytool -list -keystore "%JAVA_HOME%/jre/lib/security/cacerts" -storepass changeit

//Delete the certificate with the specified name in cacerts:

              keytool -delete -alias taobao -keystore "%JAVA_HOME%/jre/lib/security/cacerts" - storepass changeit

//Import the specified certificate to cacerts:
              keytool -import -alias taobao -file taobao.cer -keystore "%JAVA_HOME%/jre/lib/security/cacerts" -storepass changeit-trustcacerts

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326911331&siteId=291194637