mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-10 19:15:54 +02:00
httpscert: Create certificate with SHA256 hash
This commit is contained in:
committed by
Michael Tremer
parent
3e1145e1a0
commit
851fba0e8d
@@ -14,7 +14,7 @@ case "$1" in
|
||||
/bin/cat /etc/certparams | sed "s/HOSTNAME/`hostname -f`/" | /usr/bin/openssl \
|
||||
req -new -key /etc/httpd/server.key -out /etc/httpd/server.csr
|
||||
echo "Signing certificate"
|
||||
/usr/bin/openssl x509 -req -days 999999 -in \
|
||||
/usr/bin/openssl x509 -req -days 999999 -sha256 -in \
|
||||
/etc/httpd/server.csr -signkey /etc/httpd/server.key -out \
|
||||
/etc/httpd/server.crt
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user