Peer Certificate Options Missing when creating new Server in 2.5x in User/Auth Mode
When creating a new OpenVPN Server in 2.5x, if you choose "User Auth" mode, you cannot save, as it insists that the Selected Certificate is not Valid. The option to choose a certificate is not available in the UI once you choose User Auth mode.
I have replicated this behaviour FireFox and Chrome and Edge.
Go to OpenVPN -> Servers -> New
Change Server Mode to [Remote Access (User Auth)]
The option to select a CA and Server Cert disappears however is required to save. If you choose set these and then change the server mode, it appears happy.
#1 Updated by Viktor Gurov 2 months ago
regression of #11272
#5 Updated by Danilo Zrenjanin 2 months ago
- Status changed from Resolved to Feedback
Tested on the latest release.
I could successfully apply the changes without error messages, but the OpenVPN server failed to start.
Here are the logs:
Feb 4 09:08:26 openvpn 9667 WARNING: POTENTIALLY DANGEROUS OPTION --verify-client-cert none|optional may accept clients which do not present a certificate Feb 4 09:08:26 openvpn 9667 Options error: --capath fails with '/var/etc/openvpn/server1/ca': No such file or directory (errno=2) Feb 4 09:08:26 openvpn 9667 Options error: Please correct these errors. Feb 4 09:08:26 openvpn 9667 Use --help for more information.