Alex Morris wrotehow can I link a specific key to a specific user
The common_name of the cert provides you with the
hook to link to a user name.
However:
The manual wrote--
auth-user-pass-verify cmd method
- Require the client to provide a username/password (possibly in addition to a client certificate) for authentication.
OpenVPN will run command cmd to validate the username/password provided by the client.
The command
cmd is up to you to create your own for your specific environment.
Alex Morris wrotehow do I configure OpenVPN to reject any connection attempts from Carol if she happens to obtain either Alice or Bob's key?
Check the source ip .. with a script or firewall setting ..
If Carol gets access to Alice or Bobs cert/key and user/pass then you have to filter on source address but that is beyond the scope of this forum.