免責事項: これは英文の記事 How to Update the Self-Signed Machine SSL Certificate in Usage Meter 9.1 Using 'cert-management.sh' (448350) の日本語訳です。記事はベストエフォートで翻訳を進めているため、ローカライズ化コンテンツは最新情報ではない可能性があります。最新情報は英語版の記事で参照してください。
この記事では VCF Usage Meter 9.1 より新たに追加された証明書管理ユーティリティーである
"cert-management.sh" によるマシン SSL 証明書の更新手順を説明します。
VCF Usage Meter 9.1
VCF Usage Meter 9.0 は VCF Usage Meter 証明書の管理 に記載の手順にて証明書関連の手順を実施しておりましたが、
VCF Usage Meter 9.1 からは新たに追加された証明書管理ユーティリティである "cert-management.sh" にて証明書関連の手順を対話形式で実施することが可能になりました。
Usage Meter アプライアンスのマシン SSL 証明書の更新手順は以下の通りです:
[email protected] [ ~ ]$ stop.sh All
[email protected] [ ~ ]$ cert-management.sh
[email protected] [ ~ ]$ cert-management.shWelcome to VCF Usage Meter's certificate management! Available operations: 1. Import certificate into Usage Meter's truststore (establish a trust between the certificate and the Usage Meter appliance). Either provide full path to the certificate or provide server's IP and port to obtain it dynamically. 2. Replace Usage Meter's certificate with a new self-signed certificate (effectively regenerates the current certificate). 3. Replace Usage Meter's certificate with a custom certificate. Need to provide full paths to following files: signed certificate and certificate's private part. 4. Remove certificate from Usage Meter's truststore by alias. 5. List all of the certificates from the Usage Meter's truststore.
Select the operation to perform (1, 2, 3, 4 or 5): <==== "2" を入力
以下の通り表示されるオプションを設定
<注> デフォルトのまま変更する必要がない場合には、空白のまま Enter を押して次に進んでください。
Available key algorithms: 1. RSA 2. ECSelect key algorithm (default 1 - RSA): <==== !!!Enter key length for RSA (2048-8192 bits, default 4096): <==== !!!Enter validity period in days (default 730): <==== !!!Available signature algorithms for RSA keys: <==== !!! 1. SHA256withRSA 2. SHA384withRSA 3. SHA512withRSASelect signature algorithm (default 1 - SHA256withRSA): <==== !!!
Configuration: Key Algorithm: RSA Key Length: 4096 bits Validity Period: 730 days Signature Algorithm: SHA256withRSA
<注> 以下の出力が表示されれば、更新は完了です。Generating new self-signed certificate for Usage Meter...INFO: Backing up existing keystoreBacking up existing keystore DONEINFO: Updating existing certificate aliasUpdating existing certificate alias == DONEINFO: Generating 4096-bit RSA key pairGenerating 4096-bit RSA key pair ====== DONEINFO: Generating self-signed certificateGenerating self-signed certificate = DONEINFO: Creating new keystoreCreating new keystore == DONEINFO: Cleaning up backup certificateCleaning up backup certificate = DONEINFO: Setting keystore permissionsSetting keystore permissions = DONE
Note: A reboot is required for the new certificate to take effect.Reboot is required after replacing UM certificate. Reboot now (y/n): <=== y を入力