keytool - see the public and private keys

后端 未结 5 1142
半阙折子戏
半阙折子戏 2020-12-30 03:35

I created Java keystore programmatically of type jks (i.e. default type).
It is initially empty so I created a DSA certificate.

keytool -genkey -alias          


        
5条回答
  •  长情又很酷
    2020-12-30 04:03

    keytool -list -v -alias myCert -storepass 123456 -keystore file.jks
    

    or

    keytool -list -rfc -alias myCert -storepass 123456 -keystore file.jks
    

    as noted in

    keytool -help
    

提交回复
热议问题