Azure Stack Edge Pro GPU でアップロードするために証明書を準備する

適用対象:Yes for Pro GPU SKUAzure Stack Edge Pro - GPUYes for Pro 2 SKUAzure Stack Edge Pro 2Yes for Pro R SKUAzure Stack Edge Pro RYes for Mini R SKUAzure Stack Edge Mini R

この記事では、Azure Stack Edge デバイスでアップロードできるように、証明書を適切な形式に変換する方法について説明します。 この手順は通常、独自の証明書を持ち込むときに必要になります。

これらの証明書の作成方法に関する詳細については、Azure PowerShell で証明書を作成する方法に関するページを参照してください。

証明書の準備

独自の証明書を持ち込む場合、デバイス用に作成した証明書は、既定では、クライアントの個人用ストアに格納されます。 これらの証明書は、デバイスにアップロードできるように、クライアントで適切なフォーマット ファイルにエクスポートする必要があります。

DER 形式で証明書をエクスポートする

  1. certlm.msc を実行して、ローカル コンピューターの証明書ストアを起動します。

  2. 個人用証明書ストアで、ルート証明書を選択します。 右クリックし、[すべてのタスク] > [エクスポート...] を選択します。

    Illustration showing the Local Machine Store on a device with the Root certificate selected for Export.

  3. 証明書ウィザードが開きます。 形式として [DER encoded binary X.509 (.cer)] を選択します。 [次へ] を選択します。

    Screenshot of the Export File Format page of the Certificate Export Wizard. The selected DER format and the Next button are highlighted.

  4. .cer 形式のファイルをエクスポートする場所を参照して選択します。

    Screenshot of the File To Export page of the Certificate Export Wizard with a certificate file uploaded. The Browse button and Next button are highlighted.

  5. 完了を選択します。

    Screenshot of the completion page of the Certificate Export Wizard. The Finish button is highlighted.

秘密キーを含む .pfx 形式で証明書をエクスポートする

秘密キー付きの SSL 証明書を Windows コンピューターにエクスポートするには、次の手順を実行します。

重要

これらの手順は、証明書の作成に使用したのと同じコンピューターで実行してください。

  1. certlm.msc を実行して、ローカル コンピューターの証明書ストアを起動します。

  2. [個人] フォルダーをダブルクリックし、[証明書] をダブルクリックします。

    Screenshot of the Local Machine Store on a device with Certificates displayed for the Personal store. The Personal folder and Certificates store are highlighted.

  3. バックアップする証明書を右クリックし、[すべてのタスク] > [エクスポート...] を選択します。

    Screenshot showing the Export option for a selected certificate in the Personal Certificates store on a device. The Export option on the All Tasks menu is highlighted.

  4. 証明書のエクスポート ウィザードに従い、証明書を .pfx ファイルにバックアップします。

    Screenshot of the Welcome page of the Certificate Export Wizard. The Next button is highlighted.

  5. [はい、秘密キーをエクスポートします] を選択します。

    Screenshot of the Export Private Key page of the Certificate Export Wizard. The Export The Private Key option and Next button are highlighted.

  6. [Include all certificates in certificate path if possible]\(可能な場合は証明書パスのすべての証明書を含める\)[すべての拡張プロパティをエクスポートする][証明書のプライバシーを有効にする] を選択します。

    エクスポートにすべての証明書を含める場合は、ローカル Web UI を使用して証明書を構成するときに、その証明書を追加する前に、署名チェーンを個別に追加する必要はありません。 詳細については、「独自の証明書を持ち込む」をご覧ください。

    重要

    [Delete Private Key option if export is successful]\(エクスポートが成功した場合に秘密キーを削除する (オプション)\) は選択しないでください。

    Screenshot of the Export File Format page of the Certificate Export Wizard. The Personal Information Exchange options and the Next button are highlighted.

  7. パスワードを入力し、これを憶えておきます。 パスワードを確認入力します。 パスワードによって秘密キーが保護されます。

    Screenshot of the Security page of the Certificate Export Wizard with a password entered. The Password and Confirm Password options are highlighted.

  8. 設定された場所にファイルを保存します。

    Screenshot of the completion page of the Certificate Export Wizard for a certificate exported in DER format. The Finish button is highlighted.

  9. 完了を選択します。

    Export certificate 8

  10. エクスポートが成功したことを示すメッセージが表示されます。 [OK] を選択します。

    Screenshot showing the notification for a successful certificate export. The OK button is highlighted.

.pfx ファイル バックアップが選択した場所に保存され、安全に保存するために移動または保管する準備ができました。

次のステップ

お使いのデバイスで証明書をアップロードする方法を学習します。