mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-01-13 23:23:32 +01:00
Feature proposal: Intermediate certificates cache #193
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @rpv-tomsk on GitHub (Feb 7, 2017).
The walk_chain() requests certificates from remote server each time.
It can use local certificate copy instead.
Algo:
ISSUER_HASH="$($OPENSSL x509 -in "${CERT}" -noout -issuer_hash)"Check if we already have its local copy in cache
If have, use it, if no - download and store to cache (filename is formed as
${ISSUER_HASH}.crt).The similar is implemented in
cf368d3b71Although that is much more important there in monitoring (it requested much more often than in renewal process).
What do you think about this feature?
Thanks for your tool.
@lukas2511 commented on GitHub (Jul 10, 2017):
Implemented in
d685463673, thanks for the suggestion.