Making Server Generate Client Zip file with separate files for each cert

This is where we can discuss what we would like to see added or changed in OpenVPN.
Post Reply
williamk
OpenVpn Newbie
Posts: 1
Joined: Tue Feb 19, 2019 12:02 am

Making Server Generate Client Zip file with separate files for each cert

Post by williamk » Tue Feb 19, 2019 12:41 am

Is there a way to have the server generate the config file in zip format with separate files for the config and the 3 certs. The UnTangle client I am using wants a zip file with a .ovpn file in it along with a separate directory that contains files for each cert/key. So I would like the .ovpn file to look something like:

#UnTangle .ovpn file
client
resolv-retry 20
keepalive 10 60
nobind
mute-replay-warnings
ns-cert-type server
comp-lzo
max-routes 500
verb 1
persist-key
persist-tun
explicit-exit-notify 1
dev tun
proto udp
port 1194
cipher AES-128-CBC
cert keys/untangle-client.crt
key keys/untangle-client.key
ca keys/untangle-client-ca.crt
remote 66.6.6.6 1194 # public address
remote 66.6.6.6 1194 # static WAN 1

Right now the server generates a file with all the certificates inline in a single file.

Post Reply