retire des3 and use aes
This commit is contained in:
parent
0356d31d9e
commit
ce8a5bbed2
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue