Made a script to split a single OpenVPN file to multiple to avoid the issue due
to XML chunks within the single file breaking network-manager-openvpn when
importing
https://gist.github.com/ThomasG77/5c09eead1244f9d1d2bd7fa70b26fead
--
You received this bug notification because you are a member
I am having the same issue on Ubuntu 18.04 LTS.
sudo nmcli connection import type openvpn file config.ovpn
gives the following error
Error: failed to import 'config.ovpn': configuration error: unsupported 3th
argument net_gateway to “route” (line 12).
Running
sudo openvpn config.ovpn
works
--
Launchpad has imported 14 comments from the remote bug at
https://bugs.kde.org/show_bug.cgi?id=349282.
If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
I was able to solve my problems on Ubuntu Mate 18.04 by using the
command line (rather than the network manager gui) to import the .ovpn
as follows:
User@Node-99:~/Downloads$ sudo nmcli connection import type openvpn file
Miami.ovpn
Error: failed to import 'Miami.ovpn': configuration error:
My ubuntu 16.04 has affected but #77 fixed it.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/606365
Title:
unable to import config with inlined ca, cert, key or tls-auth
To manage notifications
Just experienced this issue in Ubuntu 17.04. Manually configuring the
key-direction as stated in #76 fixed it.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/606365
Title:
unable to import config
** Changed in: plasma-nm
Status: Unknown => New
** Changed in: plasma-nm
Importance: Unknown => High
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/606365
Title:
unable to import config
plasma-nm was fixed in Wily with https://launchpad.net/ubuntu/+source
/plasma-nm/4:5.3.95-0ubuntu1
** Also affects: plasma-nm (Ubuntu)
Importance: Undecided
Status: New
** Changed in: plasma-nm (Ubuntu)
Importance: Undecided => Medium
** Changed in: network-manager-openvpn (Ubuntu)
network-manager-openvpn was fixed in Xenial with
https://launchpad.net/ubuntu/+source/network-manager-openvpn/1.1.93-1
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/606365
Title:
unable to import
The original bug as reported was a failure to import certain
configuration files using network-mangaer-openvpn. This turned out to be
due to the use of inlined key material (comment 24). network-manager-
openvpn did not support this as a feature at the time, so was unable to
parse this type of
** Bug watch added: KDE Bug Tracking System #349282
https://bugs.kde.org/show_bug.cgi?id=349282
** Package changed: network-manager-openvpn (Fedora) => plasma-nm
** Changed in: plasma-nm
Importance: Undecided => Unknown
** Changed in: plasma-nm
Status: New => Unknown
** Changed
** Tags removed: network-manager openvpn
** Tags added: xenial
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/606365
Title:
unable to import config with inlined ca, cert, key or tls-auth
To manage
The error I get is:
"The file 'file.ovpn' could not be read or does not contain recognized
VPN connection information
Error: Key file contains line 'dev tun' which is not a key-value pair,
group, or comment."
If I edit the file and remove the line "comp-lzo adaptive" from the end
of the file
I was able to import my config after making the adjustment outlined here
: https://askubuntu.com/a/816140
However now I am having issues with systemd and my tap device, I'm not
sure it's correctly creating it as I'm doing bridging not tunneling on
the server end :( (probably unrelated here
im on 16.04.2 too, but i still see the bug. the workaround #77 didnt
help for me too..
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/606365
Title:
unable to import config with inlined ca, cert, key
funnily enough, the bug is actually fixed, all what is needed is
actually network-manager-openvpn-gnome (I tested it on version
1.1.93-1ubuntu1.1 in 16.04.2) installed and then the network settings
configuration gui restarted so the new VPN shows up as openvpn, after
that importing the
** Also affects: network-manager-openvpn (Fedora)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/606365
Title:
unable to import config with inlined ca,
I'm on ubuntu 16.10,
I have pfsense running my openVPN service, and I exported the client
config to an ovpn file (inline).
When I get network-manager to import, I STILL get "the plugin does not
support import capability".
This bug has been open for OVER 6 YEARS now. How about we get this
This is working for me now. When I import into Network Manager, it
literally tells me which line is the problem now, and whatever line that
is, I comment it out and it works. Before, it would just tell me that
there was an issue importing but it wasn't specific. But at least now,
Network Manager
I'm sorry, but im a newbie, but how does this fix get into the ubuntu
versions? Do we have to wait until network-manager-openvpn (Ubuntu) gets
assigned?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
I've found that removing the #comments in the TA key helped.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/606365
Title:
unable to import config with inlined ca, cert, key or tls-auth
To manage
Can also confirm that solution specified in comment #77 worked for me on
Ubuntu 16.04.1. Thank you Micah!
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/606365
Title:
unable to import config with
Holy cow! Micah you cracked it for me too! Finally after all these years
I can use OpenVPN without cli. Kudos to you.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/606365
Title:
unable to import
With Ubuntu 16.04, solution provided by #77 worked. Thanks, Micah.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/606365
Title:
unable to import config with inlined ca, cert, key or tls-auth
To
I should add that I'm running 16.04.2
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/606365
Title:
unable to import config with inlined ca, cert, key or tls-auth
To manage notifications about this
For what it's worth, an out-of-the-box OpenVPN 2.1.3 Access Server user-
locked configuration file only needs 1 parameter changed to import with
the "network-manager-openvpn-gnome" tool.
The line that says:
reneg-sec 604800
Comment that out.
# reneg-sec 604800
Imports without issue now.
--
I just tested with inlined ca, cert, key and tls-auth on Ubuntu Xenial.
All of them are properly imported, the only problem is how to specify
the tls-auth key direction if any.
With inlined style, requires specifying the key direction
with the "key-direction" parameter. The problem is the
@datsi, I noticed that the importer has trouble with "comp-lzo
something". Using "comp-lzo" alone worked for me but I didn't test with
inline cert nor PKCS12.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
Same error message as above I got the same message a
Error: Key files contains line 'dev tun' which is not a key-value pair, group,
or comment.
- running Ubuntu mate 16.04.1 up to date
- configuration files are coming from pfsense (up to date) using the "archive"
export that produce a .ovpn
@denilsonsa
The problem remains on proXPN file. You need to import and delete the
routes (under 'IPv4 Settings' tab) after that open advanced settings and
close to update and show the button.
Or you could comment all lines with 'route' and then import.
--
You received this bug notification
I tried grabbing the [proxpn.ovpn][1] file ([from this URL][2]) and
importing it into network-manager-openvpn. Unfortunately, the "Save"
button stays disabled with this message:
"Invalid setting IPv4 Settings: ipv4.routes: 1. route cannot be a
default route"
Manually adding the VPN following the
** Changed in: network-manager-openvpn (Ubuntu)
Importance: Undecided => Medium
** Changed in: network-manager-openvpn (Ubuntu)
Importance: Medium => High
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
Private Parts removed:
remote x.x.x.x x udp
remote x.x.x.x x udp
remote x.x.x.x x udp
key-direction 1
cipher AES-128-CBC
client
dev tun
resolv-retry infinite
nobind
persist-key
persist-tun
;http-proxy-retry
;http-proxy x.x.x.x x
verb 4
reneg-sec 86400
echo vpnx ovpn0x
tun-mtu 1500
route-method
Kestrell,
Can you post your config file?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/606365
Title:
unable to import config with inlined ca, cert, key or tls-auth
To manage notifications about
I tried #66 & #68, I made sure there were no '#' in the .ovpn file and I don't
have this line in the config:
route x.x.x.0 255.255.255.255 net_gateway
I still get the same error:
The file 'vpn.ovpn' could not be read or does not contain recognized VPN
connection information
Error: the plugin
I got it to import after removing the following line from the config:
route x.x.x.0 255.255.255.255 net_gateway
However it's a legitimate OpenVPN argument.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
Update to #66: importing an "inline" .ovpn file worked now as well
(after removing any # remarks). Empty lines did not give any trouble.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/606365
Title:
Running Ubuntu 16.04 Mate:
I was able to import a "old-style" config file (certificates NOT inline,
but in seperate files) ONLY after removing all "#" remarks. Seems they
are not recognized, neither at the beginning on a line nor somewhere in
the middle, so resulting in parsing errors.
The same
Also running into this problem on 16.04
My unified profile looks like this:
client
remote x.x.x.x 8757
dev tun
proto udp
cipher AES-256-CBC
auth SHA256
resolv-retry infinite
nobind
persist-key
persist-tun
ns-cert-type server
tls-version-min 1.2
comp-lzo
key-direction 1
verb 3
route x.x.x.0
A workaround for the problem of my previous post is to remove the line
float 1
from the .ovpn profile. It gets correctly imported on both ubuntu mate
for RPi and Ubuntu 64 bit.
Another problem is the default route setup: routing should be decided by the
VPN server and/or the .ovpn profile. But
In ubuntu 16.04 I'm able to import almost all my 6 .ovpn profiles with
all inline certs.
But one profile fails.
The non-importable .ovpn profile works very well if used via commandline
(sudo openvpn profile_001.ovpn) or in other vpn clients for OS X and
windows.
The error I get on ubuntu mate
How did you have it working in Ubuntu 14.04??? This bug has been present
for generations of Ubuntu.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/606365
Title:
unable to import config with inlined
Ubuntu 16.04 here with the same issue. "Error: the plugin does not
support import capability."
This worked in 14.04!
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/606365
Title:
unable to import
Importing .ovpn files also worked as expected on Kubuntu 14.04
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/606365
Title:
unable to import config with inlined ca, cert, key or tls-auth
To manage
I just want to confirm this issue, exactly the same 5a54a wrote. This is
confirmed on ubuntu-mate 16.04 64bit.
Interesting enough, Kubuntu 16.05 64bit does not have this issue. There is some
problem at times importing profiles in Kubuntu, but trying again a second time
works well.
I also
Had no problem importing pfSense ovpn file (with separate p12 and key
files) in 15.10. Now in 16.04 LTS cannot import the same files anymore:
"Cannot import VPN connnection
The file 'pfsense-udp-1194---xx.ovpn' could not be read or does not
contain recognized VPN connection information.
Agree with Patrick.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/606365
Title:
unable to import config with inlined ca, cert, key or tls-auth
To manage notifications about this bug go to:
Further to the above, here is the error message I receive. . .
The file 'client.ovpn' could not be read or does not contain recognised VPN
connection information
Error: the plugin does not support import capability.
--
You received this bug notification because you are a member of Ubuntu
Bugs,
I'm running 16.04 release. This bug is still present. I tried updating
all packages, still no joy. Where can I get this alleged fix? I've been
tracking this bug for 6 years and I'm ready to throw my monitor out of
the window.
--
You received this bug notification because you are a member of
I'll try another update, maybe I miss something...
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/606365
Title:
unable to import config with inlined ca, cert, key or tls-auth
To manage
I need to get the packages from proposed repository to make things work.
Em qui, 14 de abr de 2016 às 11:11, bagl0312 <606...@bugs.launchpad.net>
escreveu:
> Confirmed: I cannot (yet) import a VPN configuration file on 16.04
> (current release)
>
> --
> You received this bug notification because
Bogdan, please make sure to have all the updates applied. Network-
Manager and the OpenVPN plugin were refreshed post beta 2 so maybe this
got implemented.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
Confirmed: I cannot (yet) import a VPN configuration file on 16.04
(current release)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/606365
Title:
unable to import config with inlined ca, cert, key
I am using Ubuntu GNOME 16.4 beta 2, and the fix is not there. The file
still cannot be imported
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/606365
Title:
unable to import config with inlined
16.04 now includes upstream fixed version. So it doesn't affect xenial
anymore.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/606365
Title:
unable to import config with inlined ca, cert, key or
> Changed in network-manager-openvpn:
> status: Confirmed → Fix Released
Great! Will 16.04 have this fix?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/606365
Title:
unable to import config
** Changed in: network-manager-openvpn
Status: Confirmed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/606365
Title:
unable to import config with inlined ca, cert, key or
Will this ever be addressed?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/606365
Title:
unable to import config with inlined ca, cert, key or tls-auth
To manage notifications about this bug go
It seems we have a hero!
http://bazaar.launchpad.net/~network-manager/network-manager-openvpn/trunk/revision/559
For my use case (.ovpn file created by
https://hub.docker.com/r/kylemanna/openvpn/ ), I guess I will still lack the
TLS-AUTH file blob.
Maybe I'll add it myself if I have time.
But
Just FYI, this feature is already implemented in KDE (plasma-nm) -
https://bugs.kde.org/show_bug.cgi?id=349282
** Bug watch added: KDE Bug Tracking System #349282
https://bugs.kde.org/show_bug.cgi?id=349282
--
You received this bug notification because you are a member of Ubuntu
Bugs, which
Confirmed for 15.04: Still an issue for in-line *.ovpn files
still works with sudo openvpn --config client.ovpn
Off to do this manually, but... this IS an issue for larger deployments.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
I just hit this bug. And this is how Ubuntu will never get enterprise
acceptance.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/606365
Title:
unable to import config with inlined ca, cert, key or
I thought I have another look, and wow, the bug is still existant.. Wow! Years!
Even though it is so easy to fix it, and there are already solutions present,
it just have to get upstream.
Can somebody state what the problem is?
Its a quite enterprisey thing that doesnt work for years now, no
Btw for those people who looking here for bugfixes, which they dont get,
look at this:
Yes, there is:
http://howto.praqma.net/ubuntu/vpn/openvpn-access-server-client-on-ubuntu
And even a little python script who breaks it apart:
https://gist.github.com/seebk/bb94a7fd70d4cc454aaa
So, as you see,
@Nicolas It is not the answer for *inlined* certificates. You can
extract inline certificates into separate files, but it is not what
people requested here.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
Happy Birthday to this Bug !!!
Sarcasm apart - it is amazing that such an important piece of software
is not been supported properly - particularly with the corporate market
requesting it.
if the suggestion here:
https://bugzilla.gnome.org/show_bug.cgi?id=67
is correct - that it is not
could this be the answer?
https://naveensnayak.wordpress.com/2013/03/04/ubuntu-openvpn-with-ovpn-
file/
Thanks,
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/606365
Title:
unable to import config
Come on, many of the latest OpenVPN implementations use in-line
certificates by default... how can this bug be still there five years
later?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/606365
Hope this bug will be addressed - five years without a fix - is far too long...
:(
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/606365
Title:
unable to import config with inlined ca, cert, key or
I have created a small python script to extract the embedded
certificates and to rewrite the ovpn config to use separate key and cert
files.
https://gist.github.com/seebk/bb94a7fd70d4cc454aaa
Maybe it helps to simplify the error prone manual setup until this bug
is fixed.
--
You received this
Would be really nice if somebody could take a look at this and work on
it. Thanks :)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/606365
Title:
unable to import config with inlined ca, cert, key
Can somebody please fix this?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/606365
Title:
unable to import config with inlined ca, cert, key or tls-auth
To manage notifications about this bug go
I am experiencing the same problem.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/606365
Title:
unable to import config with inlined ca, cert, key or tls-auth
To manage notifications about this
2015... Nothing was done yet. Let's make some movements.
Here is the import function:
http://bazaar.launchpad.net/~network-manager/network-manager-openvpn/trunk/view/head:/properties/import-export.c#L268
and here are the lines of ca/cert/key tags parsing:
This bug affects me as well.
Anyone got a script working to automate the creation of the separate
certificates and keys from inside the .ovpm file?
Would be a great workaround till this gets fixed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is
Actually, I'm not having luck with the workaround: it seems that DNS
settings have not been updated to find recources in the VPN.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/606365
Title:
unable
Same as #25 and #26.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/606365
Title:
unable to import config with inlined ca, cert, key or tls-auth
To manage notifications about this bug go to:
** Changed in: network-manager-openvpn
Status: Unknown = Confirmed
** Changed in: network-manager-openvpn
Importance: Unknown = Medium
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/606365
** Summary changed:
- client.ovpn file is not completely imported
+ unable to import config with inlined ca, cert, key or tls-auth
** Changed in: network-manager-openvpn
Importance: Undecided = Unknown
** Changed in: network-manager-openvpn
Status: New = Unknown
** Changed in:
79 matches
Mail list logo