hi, i am new in openvpn, need you help me, how make all certs in one file .ovpn?thanks.
.crt
.crt
.crt
in one file .ovpn
thanks, thanks, thanks
all key in .ovpn
-
- OpenVPN User
- Posts: 28
- Joined: Tue Mar 04, 2014 12:38 am
Re: all key in .ovpn
Like this:
Replace the data between the "BEGIN" and "END" lines with the real data from your own files.
You don't have to use TLS-AUTH, but it provides one more layer of protection. If you use TLS-AUTH inline, then you must also have the "key-direction" line present.
Code: Select all
key-direction 1
<tls-auth>
#
# 2048 bit OpenVPN static key
#
-----BEGIN OpenVPN Static key V1-----
f745... rest of tls key
-----END OpenVPN Static key V1-----
</tls-auth>
<ca>
-----BEGIN CERTIFICATE-----
MIIG... rest of ca.crt data
-----END CERTIFICATE-----
</ca>
<cert>
-----BEGIN CERTIFICATE-----
MIIH... rest of client/user .crt data
-----END CERTIFICATE-----
</cert>
<key>
-----BEGIN PRIVATE KEY-----
MIIJ... rest of client/user .key data
-----END PRIVATE KEY-----
</key>
You don't have to use TLS-AUTH, but it provides one more layer of protection. If you use TLS-AUTH inline, then you must also have the "key-direction" line present.