[PR #44] Use of common name instead of username #49

Open
opened 2026-02-25 22:30:52 +03:00 by kerem · 0 comments
Owner

Original Pull Request: https://github.com/evgeny-gridasov/openvpn-otp/pull/44

State: open
Merged: No


Common_name is set before auth-pass-verify and I guess it should be used instead of username so it would allow to use CN of certificates as username and not to take the user input.
Moreover, the username-as-common-name config can be used so username is used as common name. See : https://openvpn.net/community-resources/reference-manual-for-openvpn-2-4/
Note : We can also check if common name exists and if not, use username.

**Original Pull Request:** https://github.com/evgeny-gridasov/openvpn-otp/pull/44 **State:** open **Merged:** No --- Common_name is set before auth-pass-verify and I guess it should be used instead of username so it would allow to use CN of certificates as username and not to take the user input. Moreover, the _username-as-common-name_ config can be used so username is used as common name. See : https://openvpn.net/community-resources/reference-manual-for-openvpn-2-4/ _Note : We can also check if common name exists and if not, use username_.
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/openvpn-otp#49
No description provided.