mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-06-02 12:00:40 +02: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 https://github.com/matteocorti/check_ssl_cert/commit/cf368d3b71dc787c8449aae90d177efdc6d042a9
Although 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.