PGP 鍵のインポート

このトピックで説明する commandLine ユーティリティーは、 PGP/GPG 鍵ストアから、セキュアおよび公開のリング・ファイルに含まれる秘密鍵と公開鍵を取り出します。

手順

commandLine ユーティリティーは、PGP/GPG 鍵ストアから鍵を取り出すために 次のパラメーターを使用します。

  1. commandLine ユーティリティーは、秘密鍵と公開鍵を取り出すために、 次のパラメーターを受け入れます。
    extractPKCS12AndPublicKey.bat  -privateKeyRingFile <file name of the secret key ring file> -publicKeyRingFileName <file name of the pub key ring file>  -passphrase <password for the gpg keys> -keyStoreLocation <keyStore Location> -keyStorePassword <keystore password> -privateCertificateName <private certificate name> -issuerName <name of the certificate issuer> -certificateStartDate <start date> -certificateExpiryDate <end date> -algorithmName SHA256withRSA
    例:
    extractPKCS12AndPublicKey.bat -privateKeyRingFile C:\Users\IBM_ADMIN\Documents\gpg\secring.gpg -publicKeyRingFile C:\Users\IBM_ADMIN\Documents\gpg\pubring.gpg -passphrase castiron -keyStoreLocation C:\mykeystore.p12 -keyStorePassword changeit -privateCertificateName myKey -issuerName "C=US, ST=CA, L=Mountain View, O=Cast Iron Systems, CN=Cast Iron Appliance VMWSULXJE23SK6HO" -certificateStartDate 01-01-2013 -certificateExpiryDate 01-01-2015 -algorithm SHA256withRSA
  2. commandLine ユーティリティーは、秘密鍵と公開鍵を Studio 鍵ストア・ファイル にインポートするために、次のパラメーターを受け入れます。
    importPKCS12IntoJKS.bat  -privateCertificateName <private certificate name> -pkcsKeyStoreLocation < PKCS12 keystore store that we created in step1 >  -pkcsKeyStorePassword < password for the keystore>
    例:
    importPKCS12IntoJKS.bat -privateCertificateName myKey -pkcsKeyStoreLocation C:mykeystore.p12 -pkcsKeyStorePassword changeit
    注: ステップ 2 はアプライアンスには不要です。 「Web 管理コンソール」ダッシュボードの「セキュリティー」メニューを使用すると、生成された PKCS12 鍵ストアをアプライアンスにインポートできます。 証明書のインポートの詳細については、 Cast Iron® Web 管理コンソールの資料を参照してください。



フィードバック | 特記事項


タイム・スタンプ・アイコン 最終更新: 2013年11月7日 (木曜日)


http://pic.dhe.ibm.com/infocenter/wci/v7r0m0/topic/com.ibm.wci.doc/PGP_Importing_keys.html