Expand description
stores:-backed CertStorage (redis/valkey; redis-store feature).
Keys under the storeโs key_prefix: acme:account, acme:cert:{<id>},
acme:challenge:<domain> (with TTL), acme:lease:{<id>} (SET NX PX,
owner-checked renew/release via Lua). Account credentials and certificate
private keys are sealed with CookieSealer (AES-256-GCM, key = SHA-256 of
acme.storage.encryption_key) before they are written; chains are stored
in clear. Hash tags keep one certificateโs keys on a single Cluster slot.
Structsยง
- Cert
Record ๐ - Redis
Cert Storage - Holds the name of the store, never a client: the client is resolved from
the live
StoreRegistryon every call, so aPUT /api/stores/:namecredential/URL change (which swaps the registry insidePluginResources) is picked up by the next ACME operation instead of being pinned to the connection that existed at startup.
Constantsยง
- RELEASE_
LEASE_ ๐SCRIPT - RENEW_
LEASE_ ๐SCRIPT - SEAL_
TTL ๐ - Sealed blobs never expire on their own; storage TTLs govern lifetime.
Functionsยง
- account_
key ๐ - cert_
key ๐ - challenge_
key ๐ - lease_
key ๐