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 08:41:16AM +0000, Peter Davis wrote:
> Yes, but shouldn't you copy the following files for each client?
> 
> # cp pki/ca.crt /etc/openvpn/client/
> # cp pki/issued/client.crt /etc/openvpn/client/
> # cp pki/private/client.key /etc/openvpn/client/

No. These files do not go anywhere on the CA (easyrsa) machine.  They need
to go to the client machine that needs them, and nowhere else.

> And create an .ovpn file for each client with the contents of the above files!

This is what you do.

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

iQGcBAEBAgAGBQJlpTayAAoJEB2Cnv7KVigSX7YL/1pIJBODGGYOphWSntYq7Z5p
5Du5PpGqp9vEmLEwE/r2SQSnQnuY91SUiiHylFbU4RpBNJ/xCBsLamv9gPVLW+Na
UMbcYSERPo8r6lkEfuaQDrMtatMI9J2/1gb28k3yPsEmAWZsOQmmeNS1yTxCDv+/
Usg74ZJSLbVpUn+1hn8K0ejHkAOoA/HrYHX+ddwjzQxdxaE6I9gRzLFwIj8J6rHl
J0vv9q+CcwP4bwuPffeegejKtEGt7M5/3sxjCxu0fIeCUXU6sv9XBde0S/MpnDtn
vzjACuYTMfYFYqeFdoyTTFn21o4Avrp7yaQ40Rq5vRSwLIRtkEwLjRRIjXP9+3Wr
H9ZdVzrTPyP12yxQed7kScTiNlFj3GfB1wKlXbFqcaDMlDIXbHDTHTg9ZX9bR2WT
cgbp8Nu2HpQwgPSnHj8PUyCRvAD//Ljuf+fqBxQVg40jseZkSho9Zl3yzYA6Sfsq
dyrSUPETHgLJtPqztCdSTxrP3ETY9Qw8NKcUp0/deA==
=2p4Z
-----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.