Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
keytool プログラムを使用して、証明書を PKCS12 キーストア形式に作成したいと考えていました。
キーストアの拡張子は.pfx.
.pfx
どうすればこれを達成できますか?
キーストアが PKCS12 タイプ ( .pfx) の場合は、次のように指定する必要があります-storetype PKCS12(読みやすくするために改行が追加されています)。
-storetype PKCS12
keytool -genkey -alias <desired certificate alias> -keystore <path to keystore.pfx> -storetype PKCS12 -keyalg RSA -storepass <password> -validity 730 -keysize 2048