diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2024-04-15 08:40:26 +0000 |
---|---|---|
committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2024-04-15 14:43:24 +0000 |
commit | 9cd746491a4d866f208855830a7b8b3ffbb6757e (patch) | |
tree | c471e64c5a7d50a9de93b9c210677f3720da86eb /src/conf_mode/service_event-handler.py | |
parent | 8034e76f6b8d0813ad1a447935809efcd203be47 (diff) | |
download | vyos-1x-9cd746491a4d866f208855830a7b8b3ffbb6757e.tar.gz vyos-1x-9cd746491a4d866f208855830a7b8b3ffbb6757e.zip |
T5734: OpenVPN check PKI DH name exists if DH configured
Check if DH is configured for OpenVPN but does not exist in the
PKI section
```
set pki dh dh-correct parameters 'xxxx'
set interfaces openvpn vtun10 tls dh-params 'dh-fake'
File "/usr/libexec/vyos/conf_mode/interfaces_openvpn.py", line 208, in verify_pki
pki_dh = pki['dh'][tls['dh_params']]
~~~~~~~~~^^^^^^^^^^^^^^^^^^
KeyError: 'dh-fake'
```
(cherry picked from commit 95cd743c24c6f7720af87450312fc111649db849)
Diffstat (limited to 'src/conf_mode/service_event-handler.py')
0 files changed, 0 insertions, 0 deletions