From 0925dcd21fd32d8cab4587d561f8c3a72ab95837 Mon Sep 17 00:00:00 2001 From: szolnokit <49479918+szolnokit@users.noreply.github.com> Date: Sun, 31 Jul 2022 01:49:53 +0200 Subject: [PATCH] Update getssl Bad FULL_CHAIN_INCLUDE_ROOT value compare --- getssl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/getssl b/getssl index 27b5578..600d75f 100755 --- a/getssl +++ b/getssl @@ -1826,7 +1826,7 @@ get_certificate() { # get certificate for csr, if all domains validated. fi awk -v CERT_FILE="$gc_certfile" -v CA_CERT="$gc_cafile" 'BEGIN {outfile=CERT_FILE} split_after==1 {outfile=CA_CERT;split_after=0} /-----END CERTIFICATE-----/ {split_after=1} {print > outfile}' "$gc_fullchain" - if [[ "$FULL_CHAIN_INCLUDE_ROOT" = "true" ]]; then + if [[ "$FULL_CHAIN_INCLUDE_ROOT" == "true" ]]; then # Some of the code below was copied from zakjan/cert-chain-resolver # Download the certificate for the issuer using the "CA Issuers" attribute from the AIA x509 extension