After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 783030 - CA-File file used even if hybird authentication checkbox is unchecked
CA-File file used even if hybird authentication checkbox is unchecked
Status: RESOLVED FIXED
Product: NetworkManager
Classification: Platform
Component: VPN: vpnc
1.2.x
Other Linux
: Normal normal
: ---
Assigned To: NetworkManager maintainer(s)
NetworkManager maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2017-05-24 07:56 UTC by Laurent Bigonville
Modified: 2017-05-26 13:16 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
[PATCH] editor: omit CA file from configuration if hybrid auth is disabled (1.48 KB, patch)
2017-05-26 12:42 UTC, Beniamino Galvani
none Details | Review

Description Laurent Bigonville 2017-05-24 07:56:17 UTC
Hi,

I tried several configuration to connect to my customer VPN and at some point I enabled the hybrid authentication and setup a CA certificate. I then disabled the checkbox and then removed the certificate.

The next time I tried to connect, it seems that the vpn plugin was still trying to use the CA certificate even the checkbox was not checked.

Looking at the configuration file, the CA-File property was still set and was still pointing to the now deleted file.

The vpnc plugin should either clear that property from the configuration or not take it into account if the checkbox is disabled.
Comment 1 Beniamino Galvani 2017-05-26 12:42:36 UTC
Created attachment 352651 [details] [review]
[PATCH] editor: omit CA file from configuration if hybrid auth is disabled
Comment 2 Thomas Haller 2017-05-26 13:11:26 UTC
lgtm