So I guess in order to reproduce the issue, I'd actually need the xxxx.key and xxxx.p12 files and put them in the same directory as the
ovpn file?

Am 09.04.22 um 15:23 schrieb Arnaldo Pirrone:
Sure:

the last I exported from pfSense looks like this, although they previously had different options. Just discovered this: if I put the p12 and key file away from the directory, I am able to import the config file!
Then I put them back and the VPN connections work.
But if those files are inside the directory while importing then the error message is right around the corner.
Hope this can help,


dev tun
persist-tun
persist-key
data-ciphers AES-256-GCM:AES-128-GCM:CHACHA20-POLY1305:AES-256-CBC
data-ciphers-fallback AES-256-CBC
auth SHA256
tls-client
client
resolv-retry infinite
remote x.x.x.x 1194 udp4
nobind
verify-x509-name "xxxx" name
auth-user-pass
pkcs12 xxxx.p12
tls-auth xxxx.key 1
remote-cert-tls server
explicit-exit-notify


Il 08/04/22 alle 17:36, Michael Biebl ha scritto:
Am 08.04.22 um 14:45 schrieb Arnaldo Pirrone:
Package: network-manager-openvpn-gnome
Version: 1.8.18-3
Severity: important
X-Debbugs-Cc: it9...@gmail.com

Hi,

When I try to import any saved vpn config, I get this error:

Can't create a new connection
The VPN plugin failed to import the VPN connection correctly:
Key file contains line "dev tun" which is not a key-value pair, group, or
comment

I know there was an issue that was preventing NetworkManager from importing config files with inline certificates, but I think this has been sorted out a long time ago, otherwise I can't explain how I was able to use it for such a
long time, also I currently have dozens of already saved VPN network
connections which I can't import again.

Can you please verify if this is also affecting your operations with
NetworkManager and report back?

Can you share an example config file?

_______________________________________________
Pkg-utopia-maintainers mailing list
pkg-utopia-maintain...@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-utopia-maintainers

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to