Skip to content
Snippets Groups Projects
Commit 0f661fef authored by ale's avatar ale
Browse files

use tls-auth option

parent 4990a444
No related branches found
No related tags found
No related merge requests found
......@@ -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),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment