VPN Forums
Technical Forums => VPN Client Setup Support => Topic started by: zurich on February 04, 2013, 10:09:56 PM
-
I have a working openvpn connection on a ubuntu laptop. When I export it (using network-manager) I get a conf file. I need an ovpn file so I can configure my openvpn app on my iPhone. I also have a crt file which I used to configure my laptop with - if it's any help. Trying to send the conf file to via mail and import it yielded an error message about a missing crt file. Sending the crt file create a profile that I'm not aware how to use.
So the simplest solution (to me at least) is to convert the conf+crt to ovpn file. Can it be done? Other suggestions on how to make the app are also appreciated...
-
I believe you can just change the file extension to ovpn and then add the contents of your crt file to your ovpn file like this.
resolv-retry infinite
persist-key
persist-tun
persist-local-ip
persist-remote-ip
comp-lzo
verb 4
mute 5
tun-mtu 1500
mssfix 1400
auth-user-pass
reneg-sec 0
route-method exe
route-delay 2
float
#http-proxy-retry # retry on connection failures
#http-proxy 0.0.0.0 80 password.txt basic
<ca>
-----BEGIN CERTIFICATE-----
<<CONTENTS OF CRT/CA FILE HERE>>
-----END CERTIFICATE-----
</ca>