Re: I have a question about Easy-RSA

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

On Mon, Jan 08, 2024 at 12:02:58PM +0000, Peter Davis via Openvpn-users wrote:
> 1- What tool do you use to generate server and client keys?

Something homegrown, based on easy-rsa

> 2- Assume that the keys have expired. Do I have to generate a new key again or can I renew the previous keys that I have copied in the server and client directory?

You can create a new certificate (.crt) for the same key (.key).  Or you
can create a new key + new certificate.

The peer is interested in a valid certificate - and that is the thing with
the expiry date.  The key *does not have* an expiry date, so it can not
expire.

> I still don't quite understand why I shouldn't delete the Easy-RSA directory after generating the keys!

If you throw away the easy-rsa directory, you remove your certificate
authority, and can never again create a client or server key+cert that will
be trusted by the existing setup.  So, "no new clients" and "no new servers".

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-----

iQGcBAEBAgAGBQJlm+qvAAoJEB2Cnv7KVigSSM4L/Alp5uyOCFBQJ/lQ/L0/6bDS
qaX8UH7HIN0EaNJPlEfB8xRzSO2gOJsDuqnecuJEVh7qF6Ubf56BeCwB0OpoJHCq
dyRiBzW7mOB380NO7aff02seaZ6vS1ciJSN28wQygDwusUv2V/lIYpKNzIBbPf2P
Jdyk0DL6Yq5cRQoDhsHXm57Jnr9TRqBvsT4vEMc9sXJkVFud1iEMk3t3t5j+/1//
y1NyKGLamSBtCFVCd5OFimgshgclngrndpq7I0ZwDhYoQJqHzYabuJG7YgeD9QP0
gGETneL8iZ0LaQFo7T9uLflrcG2WtNmXSjLa7mAAYmyl+HAvVsRrI6MKfXnVgaVy
0xrsQl5EL4znnAN8chAF5BAApJxNc1pS4eYv33MHGcZJtY43/gVma+MD418DLD0i
RaWXq19rEBu2eGQmYCj4H05m4dCDU50ikEJb9dKkc3SiuGPpiN8bfO8bTcCJSJZY
5hkxaRb92sQfG3mqTtSBVixBJ/nfWahyZ5n1gwjoeQ==
=Nm6E
-----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.