Skip to content

Conversation

@kmilo0
Copy link

@kmilo0 kmilo0 commented Aug 12, 2024

Fix for aws-client-vpn.

Right now the Server certificate ARN doesn't show in Create client VPN endpoint, to fix this

I changed
./easyrsa build-server-full server nopass
to
./easyrsa --san=DNS:server build-server-full server nopass

As in https://docs.aws.amazon.com/vpn/latest/clientvpn-admin/mutual.html

…pass

Change
./easyrsa build-server-full server nopass
to
./easyrsa --san=DNS:server build-server-full server nopass

As in https://docs.aws.amazon.com/vpn/latest/clientvpn-admin/mutual.html
@kmilo0 kmilo0 changed the title aws-client-vpn ./easyrsa --san=DNS:server build-server-full aws-client-vpn. Right now the Server certificate ARN doesn't show in Create client VPN endpoint. Aug 12, 2024
@BradKnowles
Copy link

This fixed my issue as well, thanks!

@jchoponis
Copy link

confirmed this is the way to fix this. i just ran this on windows and it worked.

worth noting - if you ran the original commands and found your certificate missing a name in the aws console (and it won't show in the cert drop down list when creating the client vpn endpoint) you can always scrub the pki folder and and do the commands for easyrsa over. in fact, when you run easyrsa it will ask if you want to scrub that pki folder and recreate everything. you'll need to to this as well as delete the acm record from aws console to get it working right.

here's an example of the init-pki cmd when you have something in pki folder under easyrsa:

EasyRSA Shell
# ./easyrsa init-pki

WARNING!!!

You are about to remove the EASYRSA_PKI at:
* C:/Program Files/OpenVPN/easy-rsa/pki

and initialize a fresh PKI here.

Type the word 'yes' to continue, or any other input to abort.
  Confirm removal: 

@colddaemon1
Copy link
Contributor

colddaemon1 commented Nov 19, 2024

I found the same issue. My suggestion is to use the same FQDN of your Simple AD directory that you create when you generate your certificate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants