-
Notifications
You must be signed in to change notification settings - Fork 915
Open
Labels
cleanupLow impact changesLow impact changes
Description
Important notices
Before you add a new report, we ask you kindly to acknowledge the following:
- I have read the contributing guide lines at https://github.com/opnsense/core/blob/master/CONTRIBUTING.md
- I am convinced that my issue is new after having checked both open and closed issues at https://github.com/opnsense/core/issues?q=is%3Aissue
Describe the bug
If enabling Username as CN while leaving Authentication empty, OpenVPN will refuse to start, since there is no authentication, there will also not be a username to match on.
To Reproduce
Steps to reproduce the behavior:
- Create an OpenVPN instance
- Enable
Username as CN - Do not set any
Authentication - Start OpenVPN, see error in log:
--username-as-common-name must be used with --management-client-auth, an --auth-user-pass-verify script, or plugin
Core only uses auth-user-pass-verify.
Expected behavior
Validation error if no Authentication set while Username as CN is enabled.
Describe alternatives you considered
N/A
Screenshots
N/A
Relevant log files
N/A
Additional context
N/A
Environment
OPNsense 26.7.a_180 (amd64).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
cleanupLow impact changesLow impact changes