From ba5719b32a8863fc0aef5d544cb6b99b138db51e Mon Sep 17 00:00:00 2001 From: sarthurdev <965089+sarthurdev@users.noreply.github.com> Date: Wed, 21 Jul 2021 19:30:40 +0200 Subject: pki: openvpn: T3642: Generate test keys using openvpn binary, previous op-mode command removed --- scripts/check-qemu-install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/check-qemu-install b/scripts/check-qemu-install index ad3f9f45..0a12d5d3 100755 --- a/scripts/check-qemu-install +++ b/scripts/check-qemu-install @@ -385,9 +385,9 @@ try: c.expect(op_mode_prompt, timeout=600) c.sendline(f'openssl dhparam -out {dh_pem} 2048') c.expect(op_mode_prompt, timeout=600) - c.sendline(f'generate openvpn key {s2s_key}') + c.sendline(f'openvpn --genkey secret {s2s_key}') c.expect(op_mode_prompt) - c.sendline(f'generate openvpn key {auth_key}') + c.sendline(f'openvpn --genkey secret {auth_key}') c.expect(op_mode_prompt) script_file = '/config/scripts/vyos-foo-update.script' -- cgit v1.2.3