Skip to content

Commit bffa3ee

Browse files
authored
Merge pull request #724 from amartin-git/patch-1
Fix DOMAIN_CHAIN_LOCATION to copy correct file
2 parents 03af029 + 742efc1 commit bffa3ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

getssl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ cert_install() { # copy certs to the correct location (creating concatenated fi
438438
else
439439
to_location="${DOMAIN_CHAIN_LOCATION}"
440440
fi
441-
cat "$CERT_FILE" "$CA_CERT" > "$TEMP_DIR/${DOMAIN}_chain.pem"
441+
cat "$FULL_CHAIN" > "$TEMP_DIR/${DOMAIN}_chain.pem"
442442
copy_file_to_location "full chain" "$TEMP_DIR/${DOMAIN}_chain.pem" "$to_location"
443443
if [[ "$DUAL_RSA_ECDSA" == "true" ]]; then
444444
cat "${CERT_FILE%.*}.ec.crt" "${CA_CERT%.*}.ec.crt" > "$TEMP_DIR/${DOMAIN}_chain.pem.ec"

0 commit comments

Comments
 (0)