Cannot import ovpn file

Official client software for OpenVPN Access Server and OpenVPN Cloud.
Post Reply
ystr
OpenVpn Newbie
Posts: 1
Joined: Thu Nov 23, 2017 11:14 am

Cannot import ovpn file

Post by ystr » Thu Nov 23, 2017 11:21 am

I cannot setup connection after reinstalling OpenVPN Connect app on iPhone 5s with iOS 11.1.
I have tried to import .ovpn file using iOS share feature from Readdle's Documents app, Files app and even email attachment. OpenVPN app starts and nothing happens. No alerts, warnings, options and so on, just "WELCOME TO OPENVPN".
My .ovpn file is valid and working on my Mac and Ubuntu machines. And it WAS working on iOS earlier. Any help would be appreciated.

t1deman
OpenVpn Newbie
Posts: 2
Joined: Tue Dec 19, 2017 2:36 am

Re: Cannot import ovpn file

Post by t1deman » Tue Dec 19, 2017 2:40 am

I have the same problem. App is just shows help, no error message. I am using iCloud drive and open in OpenVPN.

client
nobind
dev tun
remote-cert-tls server
remote ovpn.domain.net 1194 udp
<key>
-----BEGIN PRIVATE KEY-----
=
-----END PRIVATE KEY-----
</key>
<cert>
-----BEGIN CERTIFICATE-----
=
-----END CERTIFICATE-----
</cert>
<ca>
-----BEGIN CERTIFICATE-----
=
-----END CERTIFICATE-----
</ca>
key-direction 1
redirect-gateway def1
<tls-auth>
#
# 2048 bit OpenVPN static key
#
-----BEGIN OpenVPN Static key V1-----
ccbb
-----END OpenVPN Static key V1-----
</tls-auth>

User avatar
ordex
OpenVPN Inc.
Posts: 444
Joined: Wed Dec 28, 2016 2:32 am
Location: IRC #openvpn-devel @ libera.chat

Re: Cannot import ovpn file

Post by ordex » Tue Dec 19, 2017 4:24 pm

we had a couple of reports about this, but we have never been able to reproduce the problem.
All the people reporting the problem have said that at some point it started working again, like if iOS was preventing the file from being opened for some reason, but only temporary.

Does this happen with every profile?

t1deman
OpenVpn Newbie
Posts: 2
Joined: Tue Dec 19, 2017 2:36 am

Re: Cannot import ovpn file

Post by t1deman » Tue Jan 02, 2018 9:04 pm

OK, I think I figured out the problem. When sharing using iCloud drive from the files app. Apple places '~' into the filename, which OVPN may not allow. Sending it through email solved the issue. I think some error handling would help. Thanks for the reply.

Post Reply