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 Tue, Jan 16, 2024 at 07:10:02AM +0000, Peter Davis via Openvpn-users wrote:
> Hi,
> Thanks again.
> So, if I delete the client keys from the OpenVPN server,
> the clients can still connect to the server.
Yes.
> 1- Is "pki/ca.crt" unique for each client?
No. This is the CA's certificate, acting as a trusted introducer - this
is the glue that enables both ends to verify each other's certificates,
by having a signature from the CA, verifiable with the *same* ca.crt.
> 2- You said that if I use authentication based on username and password,
> then two people cannot connect to the server at the same time with the
> same username and password. Is this possible if each client has its own
> unique key?
I said that OpenVPN will (by default) disallow multiple logins with the same
client key+cert.
Username + password is an extra bonus to control who is allowed in and
who is not, or introduce 2FA requirements, etc.
> For example, if I generate a client key and share it with 100 people
I'm not willing to answer questions that start with "share client key".
Don't. Ever.
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----- iQGcBAEBAgAGBQJlpjBtAAoJEB2Cnv7KVigSuEcL/inUN+XLS0TeeaH+9+eewSud qDTZhd3VQK188hDK81o+Fqi0BVDfKCuedN7mr+hygRV1at422Rx1V3ChgYPpx6sX pvGlFSMkphgZH3uzIRdkMOTVwnbW1B2wmAUyGwF+oa0unU0DrmjXzac99yrkwbeJ /e1yZC3TNAx5OyAWDZSPYJdkmgiuzk8IysiOH8b5o20nLQKKm2tbzLvNJjr7lH23 /cacHv3SeR3o4sMuuX4nxpUI07LUXGfJoLnMhRHYMGnccZDlWB0Fw0o8sK9s8oix Qs7dtAsfwaWQ0Jk5yHYxATYWelltPD64tJxKqWygv8ZB0u3aUCXS0OcGS30zhzva 7zMkQb/XST4ItNOmOPocZQsZbRUskZvCx6lpnx1x9XBq2Ic2yPHqT++6thBNMbev vXM8lcGlZt2P3TbRPmNqPe7DR+btgS2krnZCIzo8YELA7mifqJhpgOey+YWDeIbm yWyNGHuWmUTCk9I98LBIGow4XYIoxGr44WjUC01SiA== =PoPE -----END PGP SIGNATURE-----