From: Timmothy Wilson Date: Wed, 5 Nov 2014 21:08:02 +0000 (+0100) Subject: httpscert: Create certificate with SHA256 hash X-Git-Tag: v2.17-core87~103^2~22 X-Git-Url: http://git.ipfire.org/?p=ipfire-2.x.git;a=commitdiff_plain;h=851fba0e8df26b85c39760d0e8307ec3b6abdc46 httpscert: Create certificate with SHA256 hash --- diff --git a/src/scripts/httpscert b/src/scripts/httpscert index d0e23fa7f8..e20f789ed4 100644 --- a/src/scripts/httpscert +++ b/src/scripts/httpscert @@ -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 ;;