Merge pull request #632 from pivpn/test

Merge test branch
This commit is contained in:
redfast00 2018-10-20 16:13:34 +01:00 committed by GitHub
commit 95f78aa861
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -12,4 +12,5 @@ tls-version-min 1.2
verify-x509-name SRVRNAME name
cipher AES-256-CBC
auth SHA256
auth-nocache
verb 3

View file

@ -116,11 +116,10 @@ function keyPASS() {
expect << EOF
set timeout -1
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" { send -- "${PASSWD}\r" }
expect "Verifying - Enter PEM pass phrase" { send -- "${PASSWD}\r" }
expect eof
EOF
cd pki || exit
}