Re: Two questions about key generation for clients

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

On Tue, Jan 16, 2024 at 05:02:59PM +0000, Peter Davis via Openvpn-users wrote:
> I have generated server keys and I have two questions for generating client keys:
> 1- I used the following two commands to generate keys for clients:
> 
> # ./easyrsa gen-req <client name> nopass
> # ./easyrsa sign-req client <client name>
> 
> In the first command, I see the following message:
> 
> Common Name (eg: your user, host or server name) [client name]:
> 
> I just hit the enter key and the key was generated. I repeated the same thing for the second client and just changed the name of the client.
> Now, two clients should be able to connect to the OpenVPN server simultaneously. Am I right?

Yes.

> 2- Are ca.key and ta.key the same for all clients?

ca.key must never leave the signing machine.

ca.*crt* is the same for all clients.

ta.key is for --tls-auth, and by definition, needs to be the same for
all clients.

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

iQGcBAEBAgAGBQJlpriKAAoJEB2Cnv7KVigSH3QL/2ZnvC2e8LW6dM0JETw9baki
XdbQGzMQG8J+mFnoR/EjPsYp0Ctb8lWJgngjzONdjBCD5uXxLHhb2VMHGpRvz+Zv
/yxxX6pvpHUBWr9NiWyzJN07WSKutAwRpSMYhV6XJxnFbSmkVmXEtSs0EeNuADr1
vXopX0xmd8oBRzl0uhAKH2JpQu2JSaOmdPTIk3YZx+CGpVOUZykEwgs12N8memRM
kjybFLk3oMJHb5jpUWWzsqpHT8SfGx3QtgcxdSgLAjuQ17OG0IymGCtdt20TFZ3z
2zJQl/E7vwHLQvGJWFBnw8BtjDYsJL0zfOlCrKjK9X2iBgTZaMWDqPOHPE0VA/ME
VnANMkI3Yjqxwq7YRnKfQZ5nFNcgYmUpVVVrJzwq8PVA2tCCobDxNsM7W4bJsF5K
fjtrvaziQlGxka+NL9Y8rVHyNKGQvxFYO1fqvvckb3e2cibRXe9QSxcswBxIFs7S
HqsXC7FYDbsgxj7gegrw6viFhAAwNSl8rw1EYVgaEg==
=geLl
-----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.