summaryrefslogtreecommitdiff
path: root/data/templates/accel-ppp/sstp.config.tmpl
diff options
context:
space:
mode:
authorDmitriyEshenko <dmitriy.eshenko@vyos.io>2021-09-02 11:36:38 +0000
committerDmitriyEshenko <dmitriy.eshenko@vyos.io>2021-09-02 11:36:38 +0000
commit90031f21dc66e28f8883cb58af3f07c35b61d273 (patch)
tree94d651f9da2d68fb5a233e14e365030fb70d0986 /data/templates/accel-ppp/sstp.config.tmpl
parent022c5e810b8fd62b193e6eee62bfe344e294b25e (diff)
downloadvyos-1x-90031f21dc66e28f8883cb58af3f07c35b61d273.tar.gz
vyos-1x-90031f21dc66e28f8883cb58af3f07c35b61d273.zip
sstp-server: T2661: Delete CA certificate redundancy check
Diffstat (limited to 'data/templates/accel-ppp/sstp.config.tmpl')
-rw-r--r--data/templates/accel-ppp/sstp.config.tmpl2
1 files changed, 2 insertions, 0 deletions
diff --git a/data/templates/accel-ppp/sstp.config.tmpl b/data/templates/accel-ppp/sstp.config.tmpl
index 7ca7b1c1e..d48e9ab0d 100644
--- a/data/templates/accel-ppp/sstp.config.tmpl
+++ b/data/templates/accel-ppp/sstp.config.tmpl
@@ -29,7 +29,9 @@ disable
verbose=1
ifname=sstp%d
accept=ssl
+{% if ssl.ca_cert_file is defined and ssl.ca_cert_file is not none %}
ssl-ca-file={{ ssl.ca_cert_file }}
+{% endif %}
ssl-pemfile={{ ssl.cert_file }}
ssl-keyfile={{ ssl.key_file }}