Use a certificate and establish an AWS Client VPN connection on Windows
You can configure the OpenVPN client to use a certificate and private key from the Windows
Certificate System Store. This option is useful when you use a smart card as part of
your Client VPN connection. For information about the OpenVPN client cryptoapicert
option, see Reference Manual for OpenVPN
Note
The certificate must be stored on the local computer.
To use a certificate and establish a connection
-
Create a .pfx file that contains the client certificate and the private key.
-
Import the .pfx file to your personal certificate store, on your local computer. For more information, see How to: View certificates with the MMC snap-in
on the Microsoft website. -
Verify that your account has permissions to read the local computer certificate. You can use the Microsoft Management Console to modify the permissions. For more information, see Rights to see the local computer certificates store
on the Microsoft Technet website. -
Update the OpenVPN configuration file and specify the certificate by using either the certificate subject, or the certificate thumbprint.
The following is an example of specifying the certificate by using a subject.
cryptoapicert “SUBJ:Jane Doe”
The following is an example of specifying the certificate by using a thumbprint. You can find the thumbprint by using the Microsoft Management Console. For more information, see How to: Retrieve the Thumbprint of a Certificate
on the Microsoft Technet website. cryptoapicert “THUMB:a5 42 00 42 01"
-
After you complete the configuration, use OpenVPN to establish a VPN connection by doing one of the following:
-
Use the OpenVPN GUI client application
-
Start the OpenVPN client application.
On the Windows taskbar, choose Show/Hide icons. Right-click OpenVPN GUI, and then choose Import file.
In the Open dialog box, select the configuration file that you received from your Client VPN administrator and choose Open.
On the Windows taskbar, choose Show/Hide icons. Right-click OpenVPN GUI, and then choose Connect.
-
-
Use the OpenVPN GUI Connect Client
-
Start the OpenVPN application, and choose Import, From local file.....
Navigate to the configuration file that you received from your VPN administrator, and choose Open.
-
-