This script should be placed in the directory that has the easy-rsa directory.
Example output:
# ./list-revoked
Revoked certificates:
=====================
757605D0E1B900FEBEBD0DB92B7CBCD7: C - someuser1
400180B54A45195C6D4872BA268CBC96: C - someuser2
548A1CC3C4A4F74FA2BC3916219E4A43: S - someserver1
# ./list-certs
Issued certificates:
====================
51E8BB7F20FC9C90E91FB619005034F1: C - someuser3
CFF11E535BDB8F1555FE2252E0160BF6: C - someuser4
69C620B5CEE405A36926D71CA68CA8E7: S - someserver2
Where the first column is the certificate follow by C
/S
for Client/Server types, and the CN for the certificate.