diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/install-https | 6 |
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 |