Direkt zum Inhalt

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

0

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

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

gefragt vor einem Jahr227 Aufrufe

1 Antwort
0
Akzeptierte Antwort

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

EXPERTE

beantwortet vor einem Jahr

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.