summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsmoketest/scripts/cli/test_interfaces_openvpn.py4
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]: