diff --git a/shellpki.sh b/shellpki.sh index 183704e..7c180e8 100755 --- a/shellpki.sh +++ b/shellpki.sh @@ -72,7 +72,7 @@ create() { # generate private key echo -n "Should private key be protected by a passphrase? [y/N] " read REPLY -if [ "$REPLY" = "y" ] || [ "REPLY" = "Y" ]; then +if [ "$REPLY" = "y" ] || [ "$REPLY" = "Y" ]; then $OPENSSL genrsa -aes128 -out $DIR/$cn.key 2048 else $OPENSSL genrsa -out $DIR/$cn.key 2048