Page 1 of 1

From Client.OVPN to ca.CRT

Posted: Thu Nov 21, 2019 6:58 pm
by Renate
Hi

I have an Asus Router (RT-AC66U) which is configured as OpenVPN Server. I was able to connect with different clients trough VPN to my hone.

Now I wish to install the VPN CLient on a Qnap NAS which is located outside of my home.

My problem is, that the Nas requires a ca.crt file. But my Asus Router delivers me only a client.ovpn file.

Can I only delete the not needet parts (Notepad ++) out of the client.ovpn file and save it as ca.crt?

I hope you see my problem and can help me (sorry for my english, its not my language)

Re: From Client.OVPN to ca.CRT

Posted: Thu Nov 21, 2019 7:13 pm
by Pippin
Yes you can, make sure to use a Unix capable text editor.

Re: From Client.OVPN to ca.CRT

Posted: Thu Nov 21, 2019 7:45 pm
by Renate
Hi Pippin

Thanks for your input.

I tried to do with the Sublime Text editor and save the file as ca.crt. Unfortunately without success.

What do I have to erease out of the .ovpn file?

Everything befort <ca> and all after </ca>?

Re: From Client.OVPN to ca.CRT

Posted: Thu Nov 21, 2019 8:00 pm
by Pippin
You would copy everything between <ca> </ca> and paste into ca.crt.
Then delete everything between and including <ca> </ca>.