Linux – openvpn list all active certificates

linuxopenvpnUbuntu

I have a openvpn setup on ubuntu that multiple users are connecting to. I want to list all the active certificates with their Common name. Is their a way of doing this ?

Best Answer

If you're using easy-rsa, check the index.txt file in the keys folder. It should contain a list of all the issued certificates and their subjects (including CN); valid certificates start with a V and revoked ones start with an R.
The current connections are listed in the status file (in my case, openvpn-status.log in the openvpn folder).

Related Topic