mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-14 10:37:39 -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/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 \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue