From 2913f2701fa7c617dfe0358b6051cf87c34240ab Mon Sep 17 00:00:00 2001 From: Orazio Date: Sat, 23 May 2020 11:08:51 +0200 Subject: [PATCH] Fix issue #1037 --- scripts/openvpn/makeOVPN.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/openvpn/makeOVPN.sh b/scripts/openvpn/makeOVPN.sh index 719e670..e9ac7fb 100755 --- a/scripts/openvpn/makeOVPN.sh +++ b/scripts/openvpn/makeOVPN.sh @@ -208,8 +208,8 @@ function keyPASS() { set timeout -1 set env(EASYRSA_CERT_EXPIRE) "${DAYS}" spawn ./easyrsa build-client-full "${NAME}" - expect "Enter PEM pass phrase" { send -- "${PASSWD}\r" } - expect "Verifying - Enter PEM pass phrase" { send -- "${PASSWD}\r" } + expect "Enter PEM pass phrase" { sleep 0.1; send -- "${PASSWD}\r" } + expect "Verifying - Enter PEM pass phrase" { sleep 0.1; send -- "${PASSWD}\r" } expect eof EOF cd pki || exit