summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsever-sever <v.gletenko@vyos.io>2021-04-30 15:29:21 +0000
committersever-sever <v.gletenko@vyos.io>2021-04-30 15:29:21 +0000
commit27633cebf62182cc9cf7c992ddda2d5da5828a6a (patch)
tree549066aabe897e2f8a4d5852f38e3079a979b2c1
parent53d1fa6f7199fdb6a93ed75c623d3da5624e2fae (diff)
downloadvyos-1x-27633cebf62182cc9cf7c992ddda2d5da5828a6a.tar.gz
vyos-1x-27633cebf62182cc9cf7c992ddda2d5da5828a6a.zip
openconnect: T3461: Delete CA crt file checks
-rwxr-xr-xsrc/conf_mode/vpn_openconnect.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/vpn_openconnect.py b/src/conf_mode/vpn_openconnect.py
index b2aa13c0d..2986c3458 100755
--- a/src/conf_mode/vpn_openconnect.py
+++ b/src/conf_mode/vpn_openconnect.py
@@ -73,7 +73,7 @@ def verify(ocserv):
# Check ssl
if "ssl" in ocserv:
- req_cert = ['ca_cert_file', 'cert_file', 'key_file']
+ req_cert = ['cert_file', 'key_file']
for cert in req_cert:
if not cert in ocserv["ssl"]:
raise ConfigError('openconnect ssl {0} required'.format(cert.replace('_', '-')))