Reply

Embedding Certificates into OpenVPN config

McFast
Aspirant

Embedding Certificates into OpenVPN config

found solution on another site. 

 

"To embed the certs, simply place the Base64 encoded cert text into the respective <ca> </ca>, <cert> </cert> and <key> </key> tags in your .ovpn config file and comment out the “ca”, “cert” and “key” keywords." (c)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
client
remote my-server 1194
proto udp
dev tun
persist-key
persist-tun
resolv-retry infinite
nobind
#ca ca.crt
#cert client.crt
#key client.key
comp-lzo
verb 3
<ca>
-----BEGIN CERTIFICATE-----
***Paste CA Cert Text Here***
 
-----END CERTIFICATE-----
</ca>
<cert>
-----BEGIN CERTIFICATE-----
***Paste Your Cert Text Here***
 
-----END CERTIFICATE-----
</cert>
<key>
-----BEGIN PRIVATE KEY-----
***Paste Your Cert Private Key Here***
 
-----END PRIVATE KEY-----
</key>

 

after you edit this file you can upload to google drive or icloud and then open one opvn file on your ios device without using itunes

Model: R8500|Nighthawk X8 Tri-Band AC5300 WiFi Router
Message 1 of 2
DarrenM
Sr. NETGEAR Moderator

Re: Embedding Certificates into OpenVPN config

Thanks for sharing this solution.

 

DarrenM

Message 2 of 2
Top Contributors
Discussion stats
  • 1 reply
  • 765 views
  • 0 kudos
  • 2 in conversation
Announcements