Saltar al contenido

ClientVPNの相互認証を有効にするでクライアント証明書 ARNを選択できない

0

AWSのドキュメントにて作成したクライアント証明書をclientVPN設定のクライアント証明書 ARNに設定できない。

https://docs.aws.amazon.com/ja_jp/vpn/latest/clientvpn-admin/client-auth-mutual-enable.html

preguntada hace un año222 visualizaciones

1 Respuesta
0
Respuesta aceptada

CloudShellからドキュメントに記載されたコマンドを実行して証明書のインポートまで行いました。

    1  git clone https://github.com/OpenVPN/easy-rsa.git
    2  cd easy-rsa/easyrsa3
    3  ./easyrsa init-pki
    4  ./easyrsa build-ca nopass
    5  ./easyrsa --san=DNS:example.com build-server-full server nopass
    6  ./easyrsa build-client-full example.com nopass
    7  ls -la
    8  mkdir ~/custom_folder/
    9  cp pki/ca.crt ~/custom_folder/
   10  cp pki/issued/server.crt ~/custom_folder/
   11  cp pki/private/server.key ~/custom_folder/
   12  cp pki/issued/example.com.crt ~/custom_folder
   13  cp pki/private/example.com.key ~/custom_folder/
   14  cd ~/custom_folder/
   15  ls -la
   16  aws acm import-certificate --certificate fileb://server.crt --private-key fileb://server.key --certificate-chain fileb://ca.crt --region ap-northeast-1
   17  aws acm import-certificate --certificate fileb://example.com.crt --private-key fileb://example.com.key --certificate-chain fileb://ca.crt --region ap-northeast-1

インポート後、Client VPNエンドポイント作成画面で証明書が選択できることが確認できています。
実行しているコマンドが正しいことと、エンドポイントを作成しようとしているリージョンと証明書をインポートしたリージョンが一致していることを確認してみてください。
a

EXPERTO

respondido hace un año

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.