What's new

openvpn export has different format (<cert></cert> and <key></key> block is gone)

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

hiac

Occasional Visitor
Hello,

I purchased TM-AC1900 router, and flash to Merlin (380.65) by following this url:
https://slickdeals.net/f/9071711-t-...free-ship-asus-rt-ac68u?src=SiteSearchV2Algo1

I configured openvpn (server 1, Interface Type=TUN, Protocol=UDP, Cipher Negotiation=Enabled (with fallback)). here is my setting.
http://imgur.com/a/AieCa

I then exported .ovpn profile file, and configure my windows laptop, iphone without problem. that's about 1 months ago, and the format of the export client.ovpn has this format:


client
dev tun
proto udp
remote xx 1194
float
ncp-ciphers AES-128-GCM:AES-256-GDM:AES-128-CBC:AES-256-CBC
cipher AES-128-CBC
comp-lzo adaptive
keepalive 15 60
auth-user-pass
ns-cert-type server
<ca>
-----BEGIN CERTIFICATE-----
xxx
-----END CERTIFICATE-----
</ca>
<cert>
-----BEGIN CERTIFICATE-----
xxx
-----END CERTIFICATE-----
</cert>
<key>
-----BEGIN PRIVATE KEY-----
xxx
-----END PRIVATE KEY-----
</key>
resolv-retry infinite
nobind


Today, I ran another export from router, I noticed <cert></cert> and <key></key> block is gone. I didn't recall I made any change on router recently.

client
dev tun
proto udp
remote xx 1194
float
ncp-ciphers AES-128-GCM:AES-256-GDM:AES-128-CBC:AES-256-CBC
cipher AES-128-CBC
comp-lzo adaptive
keepalive 15 60
auth-user-pass
ns-cert-type server
<ca>
-----BEGIN CERTIFICATE-----
xxx
-----END CERTIFICATE-----
</ca>
resolv-retry infinite
nobind

can you help me out?
Thank you!
 
I had the same issue and clicked on default under the VPN Details tab. I reconfigured the settings and exported a new file and everything was there again. Not sure this is the only way but it worked for me.
 
Hello atkinsom,

Thank you very much for your reply.
I found the issue
I changed
Username / Password Auth. Only
from no to yes
at some point.

once I change it back, the .ovpn profile restore.

thank you again!
 
Last edited:

Similar threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top