From a12edcbb3bb842baee23a91525b5a60aa4255c16 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Fri, 12 Nov 2021 14:52:34 +0100 Subject: [install-https] Make sure newline is between cert and key --- scripts/install-https | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/install-https b/scripts/install-https index ecb1b0a..dd7b1db 100755 --- a/scripts/install-https +++ b/scripts/install-https @@ -43,7 +43,11 @@ op_import () [ -r "$C" ] || exit 3 rm -f -- "$CHAIN_FILE" # Create server.pem - cat "$C" "$K" > "$CERT_KEY_FILE" + { + cat "$C" + echo + cat "$K" + } > "$CERT_KEY_FILE" chmod 0600 "$CERT_KEY_FILE" || exit 4 rm -f -- "$C" "$K" # If we have a chainfile, try to use it aswell -- cgit v1.2.3-55-g7522