Tutorial: Configure External PKI with OpenSSL⁠

Overview⁠

The Access Server external public key infrastructure (PKI) feature integrates Access Server with third-party tools for X.509 PKI management instead of using the built-in certificate management capabilities.

When configured for external PKI usage, Access Server doesn't manage client certificates directly; instead, the customer's third-party PKI software generates and distributes client certificate/key pairs to client machines and a server certificate/key pair to the OpenVPN server.

This tutorial shows you how to set up an external PKI using OpenSSL.

At a high level, these are the steps for your configuration:

  1. Modify as.conf to set Access Server in external PKI mode.

  2. Create the server CA using OpenSSL commands.

  3. Generate the server certificate and key via OpenSSL commands.

  4. Generate the client certificate and key via OpenSSL commands.

  5. Create the TLS_auth key.

  6. Generate Diffie-Hellman parameters.

  7. Import the necessary certificate and key files to Access Server.

  8. Provide certificate/key pairs in a P12/PFX file to the VPN client.

  9. Generate and download a server-locked profile for the client.