SHA2 SSL Support. Fixes #250

This commit is contained in:
Serghey Rodin 2014-12-02 20:50:26 +02:00
commit dbf793a719

View file

@ -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 \