Skip to content

Commit

Permalink
allow to enable OCSP stapling
Browse files Browse the repository at this point in the history
  • Loading branch information
Sando committed Oct 5, 2023
1 parent 3752b88 commit f65b634
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions overlay/container/acmesh/usr/local/bin/generate-certs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ create_tls_certs()
else acme_sh=""$acme_sh" --issue --"$challenge""
fi

if [ "${ACME_OCSP_MUST_STAPLE:-false}" = 'true' ]
then acme_sh="$acme_sh --ocsp"
fi

echo ">> Create certificates for domain(s) $domain ..."
$acme_sh \
--keylength "$key_size" \
Expand Down

0 comments on commit f65b634

Please sign in to comment.