From 46712e6609c32f70e9f616cdeb8d55ff198ae6e2 Mon Sep 17 00:00:00 2001 From: Orazio Date: Tue, 4 Sep 2018 12:45:46 +0200 Subject: [PATCH] Update makeOVPN.sh --- scripts/makeOVPN.sh | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/scripts/makeOVPN.sh b/scripts/makeOVPN.sh index e4d8962..d5db7e4 100755 --- a/scripts/makeOVPN.sh +++ b/scripts/makeOVPN.sh @@ -121,17 +121,6 @@ function keyPASS() { expect 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 }