mirror of
https://github.com/pivpn/pivpn.git
synced 2024-12-18 19:00:15 +00:00
Fix issue #1037
This commit is contained in:
parent
35f07b2147
commit
2913f2701f
1 changed files with 2 additions and 2 deletions
|
@ -208,8 +208,8 @@ function keyPASS() {
|
||||||
set timeout -1
|
set timeout -1
|
||||||
set env(EASYRSA_CERT_EXPIRE) "${DAYS}"
|
set env(EASYRSA_CERT_EXPIRE) "${DAYS}"
|
||||||
spawn ./easyrsa build-client-full "${NAME}"
|
spawn ./easyrsa build-client-full "${NAME}"
|
||||||
expect "Enter PEM pass phrase" { send -- "${PASSWD}\r" }
|
expect "Enter PEM pass phrase" { sleep 0.1; send -- "${PASSWD}\r" }
|
||||||
expect "Verifying - Enter PEM pass phrase" { send -- "${PASSWD}\r" }
|
expect "Verifying - Enter PEM pass phrase" { sleep 0.1; send -- "${PASSWD}\r" }
|
||||||
expect eof
|
expect eof
|
||||||
EOF
|
EOF
|
||||||
cd pki || exit
|
cd pki || exit
|
||||||
|
|
Loading…
Reference in a new issue