From 851fba0e8df26b85c39760d0e8307ec3b6abdc46 Mon Sep 17 00:00:00 2001 From: Timmothy Wilson Date: Wed, 5 Nov 2014 22:08:02 +0100 Subject: [PATCH] httpscert: Create certificate with SHA256 hash --- src/scripts/httpscert | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ;; -- 2.39.2