gen-ec-cert: remove useless -nodes
This commit is contained in:
parent
bce4c8c754
commit
e139dfbdb9
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user