mirror of
https://github.com/pivpn/pivpn.git
synced 2024-12-18 19:00:15 +00:00
commit
95f78aa861
2 changed files with 3 additions and 3 deletions
|
@ -12,4 +12,5 @@ tls-version-min 1.2
|
|||
verify-x509-name SRVRNAME name
|
||||
cipher AES-256-CBC
|
||||
auth SHA256
|
||||
auth-nocache
|
||||
verb 3
|
||||
|
|
|
@ -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
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue