diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2024-04-15 08:40:26 +0000 |
---|---|---|
committer | Viacheslav Hletenko <v.gletenko@vyos.io> | 2024-04-15 08:54:20 +0000 |
commit | 95cd743c24c6f7720af87450312fc111649db849 (patch) | |
tree | e1156083214a68cdb95d609b80c5000e666dbbac /python | |
parent | a6ccf358c7148781be438c4a2f89468ebfe5d48f (diff) | |
download | vyos-1x-95cd743c24c6f7720af87450312fc111649db849.tar.gz vyos-1x-95cd743c24c6f7720af87450312fc111649db849.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'
```
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions