GNOME Bugzilla – Bug 719430
importing from .ovpn file: "ns-cert-type server" not parsed
Last modified: 2016-04-01 12:37:14 UTC
When I connect my VPN, I get the following MITM warning: Nov 27 15:31:22 aconite nm-openvpn[18281]: WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info. My sysadmin says: >>> provided your client supports the >>> >>> ns-cert-type server >>> >>> OpenVPN configuration option, this warning should disappear. But that does not seem to be the case. This should be [unconfirmed] until someone who knows this stuff more than me can confirm! Example .ovpn file posted in bug #719429 which includes this option.
Sorry, relevant versions are: NetworkManager.x86_64 1:0.9.9.0-19.git20131003.fc20 openvpn.x86_64 2.3.2-4.fc20
NetworkManager-openvpn.x86_64 1:0.9.8.2-3.fc20 NetworkManager-openvpn-gnome.x86_64 1:0.9.8.2-3.fc20
I noticed this today as well. NetworkManager's OpenVPN file importer strips away the "ns-cert-type server" option without even bothering to warn the user, tricking him into thinking his VPN is working while secretly leaving him vulnerable to MITM attacks. This is dangerous.
Support for ns-cert-type added in branch bg/ns-cert-type-bgo719430, please review.
(In reply to Beniamino Galvani from comment #4) > Support for ns-cert-type added in branch bg/ns-cert-type-bgo719430, please > review. lgtm!
Rebased to master and merged: 644e55ed404edbc953e323d13c57297b53cc0f8b