I’m connecting to a VPN using the Network Manager plugin.
It doesn’t work and I see the following error in the logs:
Re-using pre-shared static key
nm-openvpn[19598]: Preserving previous TUN/TAP instance: tun0
nm-openvpn[19598]: /usr/libexec/nm-openvpn-service-openvpn-helper --debug 0 19594 --bus-name org.freedesktop.NetworkManager.openvpn.Connection_15 --tun -- tun0 1500 1546 172.16.0.10 172.16.0.9 restart
dbus-broker[660]: A security policy denied :1.2342 to send method call /org/freedesktop/NetworkManager/VPN/Plugin:org.freedesktop.NetworkManager.VPN.Plugin.SetConfig to :1.2039.
The key is stored here:
$ ls -lZ .local/share/networkmanagement/certificates/vpn.key
-rw-------. 1 fede fede unconfined_u:object_r:home_cert_t:s0 655 1 ott 10.12 .local/share/networkmanagement/certificates/vpn.key