summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-04-30 22:22:55 +0200
committerGitHub <noreply@github.com>2021-04-30 22:22:55 +0200
commitd11a18f820b84a7d4af6ee0eccbfc0a2351a6f4e (patch)
tree5c73c9a1f3604bd5f45b92b794b7fc08bf62469f
parent44d1925db6b7232cf5a607917bae4db99656176a (diff)
parent27633cebf62182cc9cf7c992ddda2d5da5828a6a (diff)
downloadvyos-1x-d11a18f820b84a7d4af6ee0eccbfc0a2351a6f4e.tar.gz
vyos-1x-d11a18f820b84a7d4af6ee0eccbfc0a2351a6f4e.zip
Merge pull request #827 from sever-sever/T3461
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('_', '-')))