[操作疑難] 入ovpn檔去OPENVPN問題(iPAD)

hi,

入ovpn檔去OPENVPN問題(iPAD)出error:

error 出 "missing/bad files: ca.crt, client.crt,client.key"

我個ovpn 檔是甘的
client dev tun proto udp remote xxx.mynetgear.com 12973 resolv-retry infinite nobind persist-key persist-tun ca ca.crt cert client.crt key client.key cipher AES-128-CBC comp-lzo verb 5

<ca>-----BEGIN CERTIFICATE----- MII...hUA== -----END CERTIFICATE-----
</ca> <cert>-----BEGIN CERTIFICATE----- MII...9DA== -----END CERTIFICATE-----
</cert> <key>-----BEGIN RSA PRIVATE KEY----- MIIC...Aq3 -----END RSA PRIVATE KEY----- </key>

remote 1.2.3.4 12973

有無問題?

我跟網頁改第一行,"client dev tun proto udp remote xxx.mynetgear.com 12973 resolv-retry infinite nobind persist-key persist-tun cipher AES-128-CBC comp-lzo verb 5"

我可以import到openvpn ,但又出下面error,連唔到線..
Status error "OpenVPN error: PolarSSL:ca certificate is undefined"

請指教!~~我部是Netgear R7000,最新firmware

P.S. 如果你成功import 到ovpn 落去你的android 或IOS, 不知你能否share個檔比我改番個ip 去試?謝謝

回覆 1# goconnect


    client
dev tun
script-security 3
proto udp
remote  IP Address  1194
resolv-retry infinite
nobind
auth-user-pass
reneg-sec 0
cipher AES-128-CBC
comp-lzo

<ca>
-----BEGIN CERTIFICATE-----
cert 內容
-----END CERTIFICATE-----
</ca>

要將ca 既內容直接加入去個ovpn file 入面.

TOP

本帖最後由 goconnect 於 2016-1-9 16:44 編輯

fixed and thanks

謝謝。

TOP