Pivpn: Revoke - Delete

Created on 31 Mar 2017  路  5Comments  路  Source: pivpn/pivpn

How to full remove client - certificate
When I revoke the name stays in list

Most helpful comment

change directory to /etc/openvpn/easy-rsa/pki
read the index.txt file. It will contain the list of all the user certificates created including those revoked. The fist letter V indicates the user is valid, and R is for revoked. Delete those revoked in the list from the text file and save it. Next time you type pyvpn -l, it will only show the valid users.

All 5 comments

A revoked cert will stay in the list, so you know it is revoked. you can at that time gen a new cert with that name.

Ok thank you

Would it be possible to update pivpn -l so that you can also filter by the kind of records you want to see. For example pivpn -l -f [valid|revoked|all would show
only the record that you have chosen with -f flag.

Not specifying -f can be same as -f all.

change directory to /etc/openvpn/easy-rsa/pki
read the index.txt file. It will contain the list of all the user certificates created including those revoked. The fist letter V indicates the user is valid, and R is for revoked. Delete those revoked in the list from the text file and save it. Next time you type pyvpn -l, it will only show the valid users.

Thanks, what about wireguard? I tried navigating to that file, but it doesn't exist for wireguard.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

InnovativeInventor picture InnovativeInventor  路  6Comments

rothgar picture rothgar  路  6Comments

fortresscrasher picture fortresscrasher  路  3Comments

mxmlkzdh picture mxmlkzdh  路  7Comments

ghost picture ghost  路  3Comments