mirror of
https://github.com/pivpn/pivpn.git
synced 2024-12-18 19:00:15 +00:00
Update makeOVPN.sh
This commit is contained in:
parent
ad41def1d7
commit
e2cde58cc8
1 changed files with 0 additions and 11 deletions
|
@ -121,17 +121,6 @@ function keyPASS() {
|
||||||
expect eof
|
expect eof
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
#Convert key to aes128
|
|
||||||
KEY_FILE="pki/private/${NAME}${KEY}"
|
|
||||||
expect << EOF
|
|
||||||
set timeout -1
|
|
||||||
spawn openssl rsa -in ${KEY_FILE} -aes128 -out ${KEY_FILE}
|
|
||||||
expect "Enter 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
|
cd pki || exit
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue