|
|
@@ -79,7 +79,7 @@ subj="/C=$country/ST=$state/localityName=$city/O=$org"
|
|
|
subj="$subj/organizationalUnitName=$org_unit/commonName=$domain"
|
|
|
subj="$subj/emailAddress=$email"
|
|
|
|
|
|
-openssl req \
|
|
|
+openssl req -sha256\
|
|
|
-new \
|
|
|
-batch \
|
|
|
-subj "$subj" \
|
|
|
@@ -96,7 +96,7 @@ openssl rsa \
|
|
|
rm $domain.key.tmp
|
|
|
|
|
|
# Generate the cert 1 year
|
|
|
-openssl x509 -req \
|
|
|
+openssl x509 -req -sha256 \
|
|
|
-days $DAYS \
|
|
|
-in $domain.csr \
|
|
|
-signkey $domain.key \
|