Re: A few questions about revoking keys

Gert Doering <[email protected]>
Newsgroups gmane.network.openvpn.user
Message-ID <[email protected]>
Hi,

On Sun, Feb 04, 2024 at 10:31:20AM +0000, Peter Davis via Openvpn-users wrote:
> I want to revoke a user's key and I have a few questions:
> 1- If I revoke a key and create a new key with the same name as before, can the previous user connect to the server?

I don't know about "users".

The person using the revoked key can no longer use that key as it is revoked.

X.509 certs do not care about "what name is attached to this cert?", all
they care about "is this from a trusted CA, and is it not on the revocation
list (CRL)"?

> 2- If I use the ./revoke-full "Client_Name" command to revoke a key, do I need to add a line to the server configuration file? For example, something like "crl-verify crl.pem".

Yes.  The CRL is needed to tell the server "these certificates have been
revoked".

Note that the CRL has a lifetime, so when the CRL is not refreshed every
now and then, it will expire, and all(!) access is disallowed - see the
easyrsa documentation on CRL lifetime and CRL refreshing.

gert

-- 
"If was one thing all people took for granted, was conviction that if you 
 feed honest figures into a computer, honest figures come out. Never doubted 
 it myself till I met a computer with a sense of humor."
                             Robert A. Heinlein, The Moon is a Harsh Mistress

Gert Doering - Munich, Germany                             [email protected]

_______________________________________________
Openvpn-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-users
signature.asc (application/pgp-signature, 630 B)
-----BEGIN PGP SIGNATURE-----

iQGcBAEBAgAGBQJlv375AAoJEB2Cnv7KVigSoGQMAKd5jpTs8tc8IIegFgyATbVU
zqt9UXDQA9X/ujgC5+C/b09UcbiOu9Xc26Sgwbc5BIF8Qbp5FVGfD4O3InUh942j
rn53l/S3vl7FyO/epZYt98zI2isVBMtQ+H9WWqwqBxaovBOhUpkHPwxS8NeV/5Ss
05dXB4IuIUWZ1o3W24lM5XVV1x3EP6aNAHuEbdCU6dacE/PmPqdPw/xckWpVUDxu
1gC6YraJBnke0fNzWcBv2k0ZfcaApNnmEi6oqlXzmT1/TdL+6QTSKsbSQw7zQpCA
Gpxug+mNtPEyK41jF5hHSzuntNA/y0bs4W6oxSL6c7JMeuFDyMVhhgyIArBfULGc
rM6NxLY4PUhZnsVyW3vcXHKGnlX/jeTHcWphsYVV7RLa+bEcCcKV15IciANwlf0T
ju1tkIFJSJOkj9vZrsxZOOwPsWY/1z6cz2+X3cahFumEwlzYkdJB0+vZlQHyWAjC
/EC+lRU6jE9NmDfFUJqKS6uYLWVVf4p1zCv8G8U1ng==
=vkqu
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.