From aae5df41c5af3bce58b00bd5171b07a97cb2ac17 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Tue, 18 Nov 2014 19:37:46 +0100 Subject: [https] Forgot to chmod 0600 the self-signed certificate --- scripts/install-https | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts') diff --git a/scripts/install-https b/scripts/install-https index bb17abc..cfefe8b 100755 --- a/scripts/install-https +++ b/scripts/install-https @@ -55,6 +55,7 @@ op_random () [ -z "$1" ] && exit 1 rm -f -- "$CHAINFILE" openssl req -x509 -new -newkey rsa:4096 -keyout "$CERTFILE" -out "$CERTFILE" -days 5000 -nodes -subj "/C=DE/ST=Nowhere/L=Springfield/O=bwLehrpool/CN=$1" || exit 2 + chmod 0600 "$CERTFILE" || exit 3 } OP=$1 -- cgit v1.2.3-55-g7522