Cannot connect to VPN ("No VPN secrets!") if no private key password is required

Bug #481054 reported by Jim Cheetham
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
network-manager-vpnc (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

Binary package hint: network-manager-vpnc

I have an OpenVPN configuration that works from the command-line, without requiring any passwords to be entered (simple possession of the keys & certs is sufficient).

When I import the configuration file into Network Manager, and do not specify a "Private Key Password' value, connections fail, logging into /var/log/syslog :-

Nov 12 12:59:41 roro NetworkManager: <WARN> nm_vpn_connection_connect_cb(): VPN connection 'testvpn' failed to connect: 'No VPN secrets!'.

When I specify a useless value for the Private Key Password field (e.g. a space character), the connection works.

Revision history for this message
Jim Cheetham (jim.cheetham) wrote :

Attaching a screenshot of the Network Manager GUI editing the VPN config.

Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

Jim,

Thanks for reporting this bug and helping in making Ubuntu better.

Could you also try to combine both the key and cert into a single .pem file and see if it works if you only set it for the user certificate field (and use your CA certificate as usual)?

Changed in network-manager-vpnc (Ubuntu):
status: New → Incomplete
Revision history for this message
Jim Cheetham (jim.cheetham) wrote :

My apologies; I have just realised that I've filed this bug against network-manager-vpnc; but I'm not using the Cisco client, I'm using the OpenVPN one ... and it's duplicate/extension of #475694.

I'll try to resssign this.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.