Commit 0f661fef authored by ale's avatar ale

use tls-auth option

parent 4990a444
......@@ -40,6 +40,7 @@ cert %(cn)s.crt
key %(cn)s.key
crl-verify crl.pem
ns-cert-type server
tls-auth tlsauth.key 1
'''
TBLK_PLIST_TEMPLATE = '''<?xml version="1.0" encoding="UTF-8"?>
......@@ -258,6 +259,7 @@ def new_cert_dl():
('%s.crt' % cn, crt_pem),
('%s.key' % cn, key_pem),
('%s.pfx' % cn, pkcs12),
('tlsauth.key', current_app.config['TLS_AUTH_KEY']),
('openvpn-%s.conf' % cn, OPENVPN_CONFIG_TEMPLATE % vars),
('README.txt', README_TEMPLATE % vars),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment