OpenVPN | enable revocation – revoke a key


Add the following line to your servers conf:
crl-verify /etc/openvpn/crl.pem

Use the easyrsa 'revoke-full ' command to revoke the key.
Copy (NOT MOVE!) the crl.pem file from directory 'keys' to /etc/openvpn
Restart the server

Notice I: The next revocations will be added to the crl.pem file. There is no need to restart the server for further revocations, the server will read the crl.pem file on the fly.

Notice II: Do not worry: The error 23 indicates that the key was revoken and all is fine.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s