VPN clients rely on the CA certificate to validate the server. If the CA certificate expires, client connections will fail until it is replaced.
Set FXPKCS11 environment variables
1
Export the PKCS #11 module path:
Shell
Configure Access Server for external PKI
1
Connect to the Access Server console and get root privileges.
2
Edit the Comment out Save and exit the file — Ctrl-X, Y, then Enter.
as.conf for external PKI usage:Shell
certs_db:Configuration
- Access Server no longer uses the certificate database. Instead, an external system must handle this.
Generate the CA key on CryptoHub
We’re storing the files in the
root directory.1
Generate the private key:
Shell
2
Generate the PKCS #11 URI reference file for the CA key:
- For Ubuntu/Debian:
Shell
- For RHEL:
Shell
3
Generate the CA certificate:From the above commands, you get two files:
Shell
- CA key (
ca.key) - CA certificate (
ca.crt)
Create OpenSSL configuration for the server certificate
1
Copy the default OpenSSL configuration file to a new file named
openssl-server.cnf:Shell
2
Update the
[ req ] section:Shell
3
Update the
[ v3_req ] section:Shell
Create OpenSSL configuration for the client certificate
1
Copy the default OpenSSL configuration file to a new file named
openssl-client.cnf:Shell
2
Update the
[ req ] section:Shell
3
Update the
[ v3_req ] section:Shell
Generate the server key and certificate
1
Generate the server private key on CryptoHub:
Shell
2
Generate the PKCS #11 URI reference file for the server key:
- For Ubuntu/Debian:
Shell
- For RHEL:
Shell
3
Generate the server CSR:
Shell
4
Sign the server certificate:From the above commands, you get three files:
Shell
- Server key (
server.key) - Server certificate (
server.crt) - Server CSR (
server.csr)
Generate the client certificate and package
1
Generate the client private key:
Shell
2
Generate the client CSR:(Optional) Generate the client CSR compatible with auto-login:
Shell
Shell
3
Sign the client certificate:
Shell
4
Create the P12 bundle:
Shell
5
Enter the P12 password when prompted.
- From the above commands, you get four files:
- Client key (
client.key) - Client certificate (
client.crt) - Client CSR (
client.csr) - Client P12 file (
etest.p12)

