Tutorial: Revoke or Delete a User Certificate or Profile
How to revoke user certificates and connection profiles for OpenVPN Access Server.
Overview
This tutorial provides instructions for revoking the user certificates for your VPN clients connecting to Access Server.
Revoking or deleting a user certificate or profile removes it from the Access Server certificates database, but the action does not block the user. After revocation, when the user attempts to connect with that profile, they receive an “authentication failed” message stating that the certificate has been revoked. The user must then delete the profile and import a new one; at this point, Access Server generates a new certificate and profile.
An installed Access Server.
VPN users.
Admin Web UI access or console access.
Sign in to the Admin Web UI.
Click Certificate Management.
The Web Server Certificate tab displays.
Click the VPN Client Certificates tab.
Click the delete icon for the profile you need to delete or revoke.
Tip
You can use the Filter or search icon to help you find the needed profile.
A confirmation message displays.
Click Delete.
The profile is deleted.
Note
An administrator can revoke one profile at a time or all associated user profiles simultaneously.
You can also find a user's profiles from their single-user page on the Connection Profiles tab.
You can revoke certificates or profiles from your Access Server CLI.
Connect to your console and get root privileges.
Run the desired commands to manage profiles:
Revoke all certificates for the user:
sacli --user [username] RevokeUser
Revoke the oldest user-locked certificate with a specific common name:
sacli --cn [common name] RevokeUserProfile
Revoke the oldest autologin certificate with a specific common name:
sacli --cn [common name]_AUTOLOGIN RevokeUserProfile
Revoke a certificate by its serial number:
sacli --sn [serial number]1 RevokeUserProfile
The serial number for a profile is displayed in the Admin Web UI under Certificate Management > VPN Client Certificates. You can also check it from CLI with
./sacli listclientsdetail
.