- Create the TLS_auth key.
- Generate Diffie-Hellman parameters.
- Import the necessary certificate and key files to Access Server.
- Configure the test client on OpenVPN Access Server admin UI.
- Generate and download a server-locked profile for the client.
- Install the profile and P12 file in OpenVPN Connect v3.
Configure OpenVPN Access Server
Switch to root and create a directoryPlace the Create a
Shell
ca.crt, server.crt, and server.key in the epki directory:Shell
tls_auth key for the OpenVPN server:Shell
Generate Diffie Hellman parameters for the OpenVPN server:For Access Server 2.7 and newer, you must also generate the auth token and add the generate file:Configure X509 explicit/extended key usage based on RFC3280 TLS rules:Configure the use of the X509 “role” attribute for the declaration of auto-login permission:Generate the tls-crypt-v2 key (for Access Server 2.9.0 and higher only):
Shell
Shell
Shell
Shell
Shell
Load the newly generated files into the Access Server Restart the Access Server:
config database:Shell
Shell
Configure the test client on the Admin Web UI.Go to the web Click on Users > Add New User.Create a new user, etest, and click on
https://<Access Server IP>:943/admin/loginEnter the username: openvpn, and the password (which is usually found in the init log:Shell
Save.Under User Settings, scroll down to Authentication, and enter the preferred password for the test client.On the top right corner, click on Save. Then at the top, click on Restart.Copy the files
etest.p12 and etest.ovpn to the client machine.Launch OpenVPN Connect v3 on a Windows or Mac.In the app, click on the 3 bar icon at the top left corner and select on My Profiles.Click on + icon and upload the etest.ovpn file.Click on 3 bar icon at the top left corner and select Certificates & Tokens.Under PKCS #12, click on + icon, and upload the etest.p12 file-enter the password that was configured in Step 6 inClick on 3 bar icon at the top left corner and select My Profiles, click on the pencil icon next to the newly uploaded profile, scroll down to Certificates and click on Select, and click on the circular button next to etest, and click on Select.Click on Save Changes.
