Use 3DES instead of simple DES to encrypt private key.
This commit is contained in:
parent
0bb337f56c
commit
a842d23d20
|
@ -64,7 +64,7 @@ create() {
|
|||
echo -n "Should private key be protected by a passphrase? [y/N] "
|
||||
read
|
||||
if [ "$REPLY" = "y" ] || [ "REPLY" = "Y" ]; then
|
||||
$OPENSSL genrsa -des -out $DIR/$cn.key 2048
|
||||
$OPENSSL genrsa -des3 -out $DIR/$cn.key 2048
|
||||
else
|
||||
$OPENSSL genrsa -out $DIR/$cn.key 2048
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue