Browse Source

Merge pull request #770 from szolnokit/FULL_CHAIN_INCLUDE_ROOT-patch

FULL_CHAIN_INCLUDE_ROOT compare style change
pull/773/head
Tim Kimber 3 years ago
committed by GitHub
parent
commit
ec27405840
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      getssl

+ 1
- 1
getssl View File

@ -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


Loading…
Cancel
Save