diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-02-15 06:14:03 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-15 06:14:03 +0100 |
commit | aef699acf11e75313d455ca6389e4cc717a1d5db (patch) | |
tree | a6cdf5fd600d5cbd1f33969b79440e1fb99b3623 /python | |
parent | 122c7a53575f67759f157e02eca776f799658dc1 (diff) | |
parent | e00edb0072ceb07b92be826984154afeb6c567d3 (diff) | |
download | vyos-1x-aef699acf11e75313d455ca6389e4cc717a1d5db.tar.gz vyos-1x-aef699acf11e75313d455ca6389e4cc717a1d5db.zip |
Merge pull request #1220 from chenxiaolong/T4244
pki: eapol: T4244: Fix KeyError when CA cert name differs from client cert name
Diffstat (limited to 'python')
-rw-r--r-- | python/vyos/configverify.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/vyos/configverify.py b/python/vyos/configverify.py index 365a28feb..18fb7f9f7 100644 --- a/python/vyos/configverify.py +++ b/python/vyos/configverify.py @@ -173,7 +173,7 @@ def verify_eapol(config): if ca_cert_name not in config['pki']['ca']: raise ConfigError('Invalid CA certificate specified for EAPoL') - ca_cert = config['pki']['ca'][cert_name] + ca_cert = config['pki']['ca'][ca_cert_name] if 'certificate' not in ca_cert: raise ConfigError('Invalid CA certificate specified for EAPoL') |