keytool - see the public and private keys

后端 未结 5 1113
半阙折子戏
半阙折子戏 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:08

    (Portecle) is a very convenient GUI tool for managing keystores. And among other things it have an option to export private key and its associated certificate.

    The common way to share your public key is to share a certificate for your keypair (it contains your public key inside)

提交回复
热议问题