cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2740
Views
0
Helpful
3
Replies

Cisco RV320 OpenVpn - Convert .ovpn file to .CR, .CA, .Key file

joybose2001
Level 1
Level 1

Once Client is created it issues a .ovpn script which can be easily configured on an Iphone openvpn app but some IP products wants .CA / .CRT / Clint key as separate file so can any body help me how to do this in the Router and have these 3 files separated.

Regards

Joy  

3 Replies 3

Ami Xiao
Level 1
Level 1

Export .ovpn files and modify it with editor (notpad++), the content should be like below.

You can try to excerpt the part you need and save as .ca / .crt / .key

 

<ca>
-----BEGIN CERTIFICATE-----
MIIDyzC....
-----END CERTIFICATE-----

</ca>

-------------------------------------------------------------------------------------

<cert>
-----BEGIN CERTIFICATE-----
MIID0...
-----END CERTIFICATE-----

</cert>

-------------------------------------------------------------------------------------

<key>
-----BEGIN PRIVATE KEY-----
MIICd...
-----END PRIVATE KEY-----

</key>

can you please modify this file a who me how it is done because I did not find rest of the .crt .key in this file so please break this into 3 parts. I and sending you a .ovpn file which was downloaded from my router. I am zipping it please uncompressed it 

I only see this 

dev tun
proto tcp
remote qbo.dyndns.org 1194
cipher AES-128-CBC
auth SHA1
resolv-retry infinite
nobind
persist-key
persist-tun
client
auth-user-pass
verb 3

<ca>
-----BEGIN CERTIFICATE-----
MIICxjCCAi+gAwIBAgIJAKlrnuEnoiLmMA0GCSqGSIb3DQEBBQUAMHwxGjAYBgNV
BAMMEWUwOjBlOmRhOjYxOjdjOmMwMQ4wDAYDVQQLDAVSVjMyMDEcMBoGA1UECgwT
Q2lzY28gU3lzdGVtcywgSW5jLjEPMA0GA1UEBwwGSXJ2aW5lMQswCQYDVQQGEwJV
UzESMBAGA1UECAwJQ2FsaWZvbWlhMB4XDTEyMTExMTAxMDEwMVoXDTIyMTEwOTAx
MDEwMVowfDEaMBgGA1UEAwwRZTA6MGU6ZGE6NjE6N2M6YzAxDjAMBgNVBAsMBVJW
MzIwMRwwGgYDVQQKDBNDaXNjbyBTeXN0ZW1zLCBJbmMuMQ8wDQYDVQQHDAZJcnZp
bmUxCzAJBgNVBAYTAlVTMRIwEAYDVQQIDAlDYWxpZm9taWEwgZ8wDQYJKoZIhvcN
AQEBBQADgY0AMIGJAoGBAKdSI16wiEzl45/8boJUiJbPpP050HggonEgKx7EARjK
e4wdqqqY2vumzn8gnAJJ19c6bVUoLnYMP7wwzY0zOBXozAs4CkFTBW9VA/TYmP5A
tBhKskdHgOsQZjeS/FsDXuKg3aNiY/nBGz9RexM/sff1w3oGq/fSAhLJts7kwph/
AgMBAAGjUDBOMB0GA1UdDgQWBBQy2J4vDIKa9M3A4NktykNC0iHVFTAfBgNVHSME
GDAWgBQy2J4vDIKa9M3A4NktykNC0iHVFTAMBgNVHRMEBTADAQH/MA0GCSqGSIb3
DQEBBQUAA4GBADBV9zhIQ9eH820zN7BQMZjjNmgV6qRQCeIrH6dEq2JrBiuEcJZ8
J3ESagoD5nsypiy5zyHRuuK3P3BWAoGH6f8MmfP+IO3lSpaInYt/vTBpcvKpOSee
4Vv1WIzEptHd1hLrHqTouul0rAnHe2zB8mz/U/ElhIa1xLv9MUmDAjry
-----END CERTIFICATE-----

</ca>

regards 

you have to change openvon authentication to "password + certificate" also generate cert for server and client then export the client.ovpn.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: