caddy/caddytls
Matthew Holt 46ae4a6652
tls: Remove expiring certificates from cache and load renewed ones
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.
2017-09-11 12:37:42 -06:00
..
storagetest Refactor and improve TLS storage code (related to locking) 2016-09-19 17:24:34 -06:00
certificates_test.go fix typo 2016-08-09 14:57:17 +09:00
certificates.go tls: Remove expiring certificates from cache and load renewed ones 2017-09-11 12:37:42 -06:00
client_test.go Rewrote Caddy from the ground up; initial commit of 0.9 branch 2016-06-04 17:00:29 -06:00
client.go Disable warning for insecure CA if located on private network. (#1599) 2017-04-20 05:38:54 -06:00
config_test.go tls: Prefer ChaCha20 if AES-NI instruction set is unavailable (#1675) 2017-05-17 10:45:17 -06:00
config.go tls: Prefer ChaCha20 if AES-NI instruction set is unavailable (#1675) 2017-05-17 10:45:17 -06:00
crypto_test.go caddytls: Fix data race in test (close #1844) 2017-08-28 19:21:17 -06:00
crypto.go caddytls: Fix data race in test (close #1844) 2017-08-28 19:21:17 -06:00
filestorage_test.go Pluggable TLS Storage (#913) 2016-07-08 07:32:31 -06:00
filestorage.go Log certificate location 2017-03-06 21:56:24 +00:00
handshake_test.go tls: Refactor internals related to TLS configurations (#1466) 2017-02-21 09:49:22 -07:00
handshake.go tls: Remove expiring certificates from cache and load renewed ones 2017-09-11 12:37:42 -06:00
httphandler_test.go ACME challenge proxy now accounts for ListenHost (bind); fixes #1296 2016-12-23 09:40:03 -07:00
httphandler.go tls: Command line flags to disable HTTP and TLS-SNI challenges 2017-03-08 00:06:49 -07:00
maintain.go tls: Remove expiring certificates from cache and load renewed ones 2017-09-11 12:37:42 -06:00
setup_test.go tls: add optional 'ca' tls directive, closes #1689 (#1699) 2017-06-24 11:10:44 -07:00
setup.go tls: add optional 'ca' tls directive, closes #1689 (#1699) 2017-06-24 11:10:44 -07:00
storage.go Refactor and improve TLS storage code (related to locking) 2016-09-19 17:24:34 -06:00
tls_test.go Refactor and improve TLS storage code (related to locking) 2016-09-19 17:24:34 -06:00
tls.go caddytls: introduced own ChallengeProvider type to fix imports related to vendor (#1700) 2017-06-06 09:23:00 -06:00
user_test.go tls: Improve flaky test depending on CPU scheduling (I think) 2016-11-28 23:37:22 -07:00
user.go Fix small misspellings 2017-01-10 13:09:24 -08:00