Re: Limit the number of users based on the key

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

On Mon, Jan 15, 2024 at 06:25:38AM +0000, Peter Davis via Openvpn-users wrote:
> Thanks again.
> Should I run the following commands for each client?
> 
> $ ./easyrsa gen-req <client name> nopass
> $ ./easyrsa sign-req client <client name>

Sounds plausible (I'm not using current easy-rsa, but that's the normal
order of things - generate a client key+csr, sign the csr into a cert).

> If so, then the above commands will generate separate keys for each client, and each of those keys must be loaded into the configuration file!

I fail to understand that sentence.  There is not "the configuration file",
as in "singular, one file".  Each client has its own config file that goes
to the client computer - and yes, *this* config file needs to contain (or
reference) the key for *this* client.

The server config file ("singular") needs to know nothing about all these
client keys.

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

iQGcBAEBAgAGBQJlpNzvAAoJEB2Cnv7KVigSCp8L/2pFWgWD063EsQLbyrMktWx1
/sj1/021g2DneMamIC8hFgvBohB33vII777sXrIzaYL0s2hP+vHrVOmKdH102lSD
4ndBy+06XWrP89M3nYW1OYosTweaLAgX3rHPB4QfqQzmPtEtRbq7G3gEfeL7PqSb
gUR0PHFdZrVAKERNfFyva4sqvzEu/ZbpxjXPmDDDnGLLMQZqsLrnzX8JxXl9DidC
+UjC7G3R4dTzQwM1t4FE2uuacYiFb4yT7FoPkf34rI/APN1VOuH/TfHT8lI+dbYb
N6dMZOr2HYrHGl9YpelE/0bnuxOJkOK46RicFPjrYtXiOJ5i7DFNwxU7oisTSPVr
O41J4hZChNvTs0cFnn/xkblp3tj0pdkmx4OYuNB4oDwyv0EmKrJ/HeYULigDJFVu
fOs0LtmW7qBnGz8TnASQX3jcubbmBEinVtmvWdmYZJAxHLYGUTh6RAQr2ZAIt4pl
Yb1Kpo9Mj8EWqEHA8mOPo3omFNpZts9s3Y/djTObtQ==
=fFJX
-----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.