diff --git a/scripts/makeOVPN.sh b/scripts/makeOVPN.sh index 09ef655..fce0adb 100755 --- a/scripts/makeOVPN.sh +++ b/scripts/makeOVPN.sh @@ -121,11 +121,11 @@ function keyPASS() { expect eof EOF - #Convert key to des3 + #Convert key to aes128 KEY_FILE="pki/private/${NAME}${KEY}" expect << EOF set timeout -1 - spawn openssl rsa -in ${KEY_FILE} -des3 -out ${KEY_FILE} + 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" }