diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-07-25 11:41:01 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-07-25 11:58:03 +0200 |
commit | b5250fa28f22b1cdd1ddbe6ebfce6803f53c8806 (patch) | |
tree | dfa4a6b8988207c27d9a45079c7cc8df9044ad63 /smoketest | |
parent | 298f3ec051b5ddb36c53882ae562904e33a6a576 (diff) | |
download | vyos-1x-b5250fa28f22b1cdd1ddbe6ebfce6803f53c8806.tar.gz vyos-1x-b5250fa28f22b1cdd1ddbe6ebfce6803f53c8806.zip |
smoketest: openvpn: fix deprecated option warning for key generation
WARNING: Using --genkey --secret filename is DEPRECATED.
Use --genkey secret filename instead.
Diffstat (limited to 'smoketest')
-rwxr-xr-x | smoketest/scripts/cli/test_interfaces_openvpn.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/smoketest/scripts/cli/test_interfaces_openvpn.py b/smoketest/scripts/cli/test_interfaces_openvpn.py index c9376b032..42a008007 100755 --- a/smoketest/scripts/cli/test_interfaces_openvpn.py +++ b/smoketest/scripts/cli/test_interfaces_openvpn.py @@ -631,12 +631,12 @@ if __name__ == '__main__': if not os.path.isfile(s2s_key): # Generate site-2-site key - tmp = f'openvpn --genkey --secret {s2s_key}' + tmp = f'openvpn --genkey secret {s2s_key}' print(cmd(tmp)) if not os.path.isfile(auth_key): # Generate TLS auth key - tmp = f'openvpn --genkey --secret {auth_key}' + tmp = f'openvpn --genkey secret {auth_key}' print(cmd(tmp)) for file in [ca_cert, ssl_cert, ssl_key, dh_pem, s2s_key, auth_key]: |