summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/install-https6
1 files changed, 5 insertions, 1 deletions
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