summaryrefslogtreecommitdiff
path: root/src/conf_mode/vpn_openconnect.py
diff options
context:
space:
mode:
authorsever-sever <v.gletenko@vyos.io>2021-04-30 15:29:21 +0000
committerDaniil Baturin <daniil@vyos.io>2021-05-27 17:49:08 +0300
commitd618dea8c51be735937fe1d08adef37d1597f0f0 (patch)
tree7c10ecc599d5999c2a019b35a3873caed2bb71ec /src/conf_mode/vpn_openconnect.py
parent929cf34a41fa77b5a78a83f3d40630eb81434fb5 (diff)
downloadvyos-1x-d618dea8c51be735937fe1d08adef37d1597f0f0.tar.gz
vyos-1x-d618dea8c51be735937fe1d08adef37d1597f0f0.zip
openconnect: T3461: Delete CA crt file checks
Diffstat (limited to 'src/conf_mode/vpn_openconnect.py')
-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('_', '-')))