mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-19 21:04:06 -07:00
SHA2 SSL Support. Fixes #250
This commit is contained in:
parent
d6ad2af5ca
commit
dbf793a719
1 changed files with 2 additions and 2 deletions
|
@ -79,7 +79,7 @@ subj="/C=$country/ST=$state/localityName=$city/O=$org"
|
||||||
subj="$subj/organizationalUnitName=$org_unit/commonName=$domain"
|
subj="$subj/organizationalUnitName=$org_unit/commonName=$domain"
|
||||||
subj="$subj/emailAddress=$email"
|
subj="$subj/emailAddress=$email"
|
||||||
|
|
||||||
openssl req \
|
openssl req -sha256\
|
||||||
-new \
|
-new \
|
||||||
-batch \
|
-batch \
|
||||||
-subj "$subj" \
|
-subj "$subj" \
|
||||||
|
@ -96,7 +96,7 @@ openssl rsa \
|
||||||
rm $domain.key.tmp
|
rm $domain.key.tmp
|
||||||
|
|
||||||
# Generate the cert 1 year
|
# Generate the cert 1 year
|
||||||
openssl x509 -req \
|
openssl x509 -req -sha256 \
|
||||||
-days $DAYS \
|
-days $DAYS \
|
||||||
-in $domain.csr \
|
-in $domain.csr \
|
||||||
-signkey $domain.key \
|
-signkey $domain.key \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue