I have a strongswan IPSEC/IKEv2 VPN setup on a home server which works great with my android phone.
I am now trying to connect my 15.04 ubuntu laptop to the VPN but I am having problems. When I attempt to connect I get an error message saying the VPN service failed to start.
In syslog I get the following:
Code:
Aug 30 11:20:16 simon-Latitude-E6540 NetworkManager[824]: <info> VPN connection 'home VPN' (ConnectInteractive) reply received.Aug 30 11:20:16 simon-Latitude-E6540 NetworkManager[824]: (process:2771): GLib-CRITICAL **: Source ID 5 was not found when attempting to remove it
Aug 30 11:20:16 simon-Latitude-E6540 charon-nm: 14[CFG] received initiate for NetworkManager connection home VPN
Aug 30 11:20:16 simon-Latitude-E6540 charon-nm: 14[LIB] opening '/home/simon/caCert.pem' failed: Permission denied
Aug 30 11:20:16 simon-Latitude-E6540 charon-nm: 14[LIB] building CRED_CERTIFICATE - X509 failed, tried 4 builders
Aug 30 11:20:16 simon-Latitude-E6540 NetworkManager[824]: <info> VPN plugin state changed: starting (3)
Aug 30 11:20:16 simon-Latitude-E6540 NetworkManager[824]: <info> VPN connection 'home VPN' (Connect) reply received.
Aug 30 11:20:16 simon-Latitude-E6540 NetworkManager[824]: <warn> VPN connection 'home VPN' failed to connect: 'Loading gateway certificate failed.'.
Aug 30 11:20:16 simon-Latitude-E6540 NetworkManager[824]: <warn> error disconnecting VPN: Could not process the request because no VPN connection was active.
I don't know why it can't access the caCert.pem file as the permissions are set to read for all.
Any ideas how to fix this?