gen-ec-cert: remove useless -nodes

This commit is contained in:
Lucas 2020-02-13 10:33:36 +00:00
parent bce4c8c754
commit e139dfbdb9

View File

@ -29,5 +29,5 @@ domain=$1
(umask 077 && openssl genpkey -aes256 \ (umask 077 && openssl genpkey -aes256 \
-algorithm ec -pkeyopt ec_paramgen_curve:"$curve" -out "$domain.key") && -algorithm ec -pkeyopt ec_paramgen_curve:"$curve" -out "$domain.key") &&
openssl req -new -nodes -x509 -days "$days" -subj "/CN=$domain" \ openssl req -new -x509 -days "$days" -subj "/CN=$domain" \
-key "$domain.key" -out "$domain.pem" -key "$domain.key" -out "$domain.pem"