OpenVPN-Community / openvpn-radiusplugin

GNU General Public License v2.0
6 stars 1 forks source link

client-cert-not-required is deprecated #2

Open alex-dot opened 4 years ago

alex-dot commented 4 years ago

As of version 2.4 of OpenVPN, client-cert-not-required is marked deprecated and will be removed in 2.5. Configuration should use verify-client-cert directive instead.

An easy, short-term fix is to have both openvpn directives verify-client-cert none and client-cert-not-required in the server.conf file.

Since client-cert-not-required is "just" deprecated, openvpn prints a warning message but still runs, this way the plugin is still able to catch the (old) directive.

See also: https://github.com/ValdikSS/openvpn-radiusplugin/issues/14 https://github.com/ValdikSS/openvpn-radiusplugin/issues/5