Sheldon Xu

几个keytool常用命令

几个ketool常用的命令写法:


1. List:

  keytool -list
      -alias <alias_name>
      -storepass changeit
      -keystore /usr/lib/jvm/java/jre/lib/security/cacerts


2. Import:

  keytool -import
      -alias <alias_name>
      -storepass changeit 
      -file <cert_file>
      -keystore /usr/lib/jvm/java/jre/lib/security/cacerts

 

3. Delete:

keytool -delete
    -alias <alias_name>
    -storepass changeit 
    -keystore /usr/lib/jvm/java/jre/lib/security/cacerts


posted on 2012-05-16 13:49  Sheldon Xu  阅读(372)  评论(0编辑  收藏  举报

导航