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.

Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your 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 )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.