Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ai
autoca
Commits
0f661fef
Commit
0f661fef
authored
Dec 09, 2012
by
ale
Browse files
use tls-auth option
parent
4990a444
Changes
1
Hide whitespace changes
Inline
Side-by-side
autovpn/vpn_app.py
View file @
0f661fef
...
...
@@ -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
),
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment