<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    qqjianyue代碼工

    砌java代碼
    posts - 62, comments - 9, trackbacks - 0, articles - 10
      BlogJava :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理

    轉載: Keytool command

    Posted on 2011-09-16 16:24 Qzi 閱讀(392) 評論(0)  編輯  收藏

    Java Keytool Commands for Creating and Importing

    These commands allow you to generate a new Java Keytool keystore file, create a CSR, and import certificates. Any root or intermediate certificates will need to be imported before importing the primary certificate for your domain.

    • Generate a Java keystore and key pair

      keytool -genkey -alias mydomain -keyalg RSA -keystore keystore.jks -keysize 2048

    • Generate a certificate signing request (CSR) for an existing Java keystore

      keytool -certreq -alias mydomain -keystore keystore.jks -file mydomain.csr

    • Import a root or intermediate CA certificate to an existing Java keystore

      keytool -import -trustcacerts -alias root -file Thawte.crt -keystore keystore.jks

    • Import a signed primary certificate to an existing Java keystore

      keytool -import -trustcacerts -alias mydomain -file mydomain.crt -keystore keystore.jks

    • Generate a keystore and self-signed certificate (see How to Create a Self Signed Certificate using Java Keytool for more info)

      keytool -genkey -keyalg RSA -alias selfsigned -keystore keystore.jks -storepass password -validity 360 -keysize 2048

    Java Keytool Commands for Checking

    If you need to check the information within a certificate, or Java keystore, use these commands.

    • Check a stand-alone certificate

      keytool -printcert -v -file mydomain.crt

    • Check which certificates are in a Java keystore

      keytool -list -v -keystore keystore.jks

    • Check a particular keystore entry using an alias

      keytool -list -v -keystore keystore.jks -alias mydomain

    Other Java Keytool Commands

    • Delete a certificate from a Java Keytool keystore

      keytool -delete -alias mydomain -keystore keystore.jks

    • Change a Java keystore password

      keytool -storepasswd -new new_storepass -keystore keystore.jks

    • Export a certificate from a keystore

      keytool -export -alias mydomain -file mydomain.crt -keystore keystore.jks

    • List Trusted CA Certs

      keytool -list -v -keystore $JAVA_HOME/jre/lib/security/cacerts

    • Import New CA into Trusted Certs

      keytool -import -trustcacerts -file /path/to/ca/ca.pem -alias CA_ALIAS -keystore $JAVA_HOME/jre/lib/security/cacerts


    只有注冊用戶登錄后才能發表評論。


    網站導航:
     
    主站蜘蛛池模板: 99久9在线|免费| 无码人妻一区二区三区免费n鬼沢| 亚洲三级在线免费观看| 亚洲熟妇丰满多毛XXXX| 男女污污污超污视频免费在线看| 日韩电影免费在线| 日韩色视频一区二区三区亚洲| 成人性生交视频免费观看| 亚洲国产日韩精品| 日本免费一本天堂在线| 国产精品无码亚洲精品2021| 国产三级免费电影| 成人嫩草影院免费观看| 亚洲午夜无码久久久久| 久久成人免费播放网站| 91亚洲视频在线观看| 人禽杂交18禁网站免费| 亚洲AV综合色区无码一二三区| 国产在线观看免费完整版中文版| 免费无码国产在线观国内自拍中文字幕| 免费看一级做a爰片久久| xvideos永久免费入口| 亚洲VA中文字幕无码一二三区| 99精品视频在线免费观看| 亚洲国产成人手机在线电影bd | 亚洲人成电影网站久久| 成熟女人特级毛片www免费| 美女免费精品高清毛片在线视| 亚洲中文字幕在线观看| 51视频精品全部免费最新| 亚洲中文字幕无码爆乳| 国产午夜亚洲不卡| 久久99国产乱子伦精品免费| 亚洲色一区二区三区四区| 亚洲人成无码网站久久99热国产| 99免费在线观看视频| 亚洲精品成a人在线观看☆| 亚洲人成人无码网www电影首页| 91嫩草免费国产永久入口| 黄色网址大全免费| 亚洲一二成人精品区|