retire des3 and use aes

This commit is contained in:
Daniel Jakots 2017-05-20 22:37:07 -04:00
parent 0356d31d9e
commit ce8a5bbed2

View file

@ -73,7 +73,7 @@ create() {
echo -n "Should private key be protected by a passphrase? [y/N] " echo -n "Should private key be protected by a passphrase? [y/N] "
read REPLY read REPLY
if [ "$REPLY" = "y" ] || [ "REPLY" = "Y" ]; then if [ "$REPLY" = "y" ] || [ "REPLY" = "Y" ]; then
$OPENSSL genrsa -des3 -out $DIR/$cn.key 2048 $OPENSSL genrsa -aes128 -out $DIR/$cn.key 2048
else else
$OPENSSL genrsa -out $DIR/$cn.key 2048 $OPENSSL genrsa -out $DIR/$cn.key 2048
fi fi