caddy/caddy
Matthew Holt 55601d3ec2 letsencrypt: Fix OCSP stapling and restarts with new LE-capable hosts
Before, Caddy couldn't support graceful (zero-downtime) restarts when the reloaded Caddyfile had a host in it that was elligible for a LE certificate because the port was already in use. This commit makes it possible to do zero-downtime reloads and issue certificates for new hosts that need it. Supports only http-01 challenge at this time.

OCSP stapling is improved in that it updates before the expiration time when the validity window has shifted forward. See 30c949085c. Before it only used to update when the status changed.

This commit also sets the user agent for Let's Encrypt requests with a string containing "Caddy".
2016-01-03 17:05:10 -07:00
..
assets Minor test improvements 2015-10-27 12:53:31 -06:00
caddyfile Preserve and clean up original host input in Caddyfile-JSON conversions 2016-01-03 16:46:26 -07:00
letsencrypt letsencrypt: Fix OCSP stapling and restarts with new LE-capable hosts 2016-01-03 17:05:10 -07:00
parse Parser separate scheme/port, refactor config loading 2016-01-03 16:41:29 -07:00
setup tls: Allow opening block without specifying cert+key args 2016-01-03 16:44:30 -07:00
caddy.go letsencrypt: Fix OCSP stapling and restarts with new LE-capable hosts 2016-01-03 17:05:10 -07:00
caddy_test.go core: Start() blocks until servers finish starting 2015-10-30 00:19:43 -06:00
config.go Parser separate scheme/port, refactor config loading 2016-01-03 16:41:29 -07:00
config_test.go Parser separate scheme/port, refactor config loading 2016-01-03 16:41:29 -07:00
directives.go letsencrypt: Activate during config load just after tls directive 2015-11-01 09:46:23 -07:00
helpers.go Several improvements and bug fixes related to graceful reloads 2015-11-14 18:00:25 -07:00
restart.go letsencrypt: Fix OCSP stapling and restarts with new LE-capable hosts 2016-01-03 17:05:10 -07:00
restart_windows.go Make signal trapping optional 2015-11-14 21:59:43 -07:00
sigtrap.go Make signal trapping optional 2015-11-14 21:59:43 -07:00
sigtrap_posix.go Make signal trapping optional 2015-11-14 21:59:43 -07:00
sigtrap_windows.go Make signal trapping optional 2015-11-14 21:59:43 -07:00