I recently built and installed the duo_openvpn.so plugin on my openvpn server (version 2.4.6) and after installation/configuration of the plugin I am getting the following error on startup of openvpn:
openvpn: Options error: Unrecognized option or missing or extra parameter(s) in /tmp/openvpn/openvpn.conf:33: plugin (2.4.6)
This line (#33) that generated this error in the openvpn.conf is as follows:
plugin /opt/duo/duo_openvpn.so ‘xxxxx yyyyyy zzzzzzzzz’
I saw that there was an error using this syntax with OpenVpn (v2.4.1-2)
Reference posting here:
(Latest OpenVPN Update (v2.4.1-2) Breaks duo_openvpn.so)
and the solution there was to enclose the 3 keys for the plugin in single quotes ’ '. Is this a known issue with OpenVpn 2.4.6 and is there any workaround for this error?
I also followed the setup guide here:
and I have tried using double quotes and no-quotes but the error is the same after restarting the openvpn server. Because of this error, openvpn server fails to start and I have commented out loading of the duo plugin for now.
Let me know if this should be investigated further with Support/Engineering.