gamalan / caddy-tlsredis

Redis Storage using for Caddy TLS Data
Apache License 2.0
95 stars 31 forks source link

Decryption error after upgrade #29

Open crysper opened 2 years ago

crysper commented 2 years ago

I have a custom built version of caddy 2.3.0-beta which i included your library. Everything worked fine until I downloaded the pre-built caddy 2.4.6 version. when i tried to upgrade, we got this error right after we reloaded the service:

[ERROR] While deleting old OCSP staples, unable to load staple file: unable to decrypt data for ocsp/... for each domain.

Seems like an encryption error... did any changes happen there in the last 12 months?

this is the only thing we have related to this module in Caddyfile storage redis { host {$REDIS_ADDRESS} }

gamalan commented 2 years ago

I remove the default encryption key, so you need to set it manually.