Renewed certificates would not be reloaded into the cache because their names conflict with names of certificates already in the cache; this was intentional when loading new certs to avoid confusion, but is problematic when renewing, since the old certificate doesn't get evicted from the cache. (Oops.) Here, I remedy this situation by explicitly deleting the old cert from the cache before adding the renewed one back in. |
||
---|---|---|
.. | ||
storagetest | ||
certificates.go | ||
certificates_test.go | ||
client.go | ||
client_test.go | ||
config.go | ||
config_test.go | ||
crypto.go | ||
crypto_test.go | ||
filestorage.go | ||
filestorage_test.go | ||
handshake.go | ||
handshake_test.go | ||
httphandler.go | ||
httphandler_test.go | ||
maintain.go | ||
setup.go | ||
setup_test.go | ||
storage.go | ||
tls.go | ||
tls_test.go | ||
user.go | ||
user_test.go |