1
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2024-12-16 21:56:40 -05:00
caddy/modules/caddytls
Matthew Holt 90284e8017
httpcaddyfile: Fix default issuers when email provided
If `tls <email>` is used, we should apply that to all applicable default issuers, not drop them. This refactoring applies implicit ACME issuer settings from the tls directive to all default ACME issuers, like ZeroSSL.

We also consolidate some annoying logic and improve config validity checks.

Ref: https://caddy.community/t/error-obtaining-certificate-after-caddy-restart/11335/8
2021-02-02 16:17:26 -07:00
..
distributedstek ci: Use golangci's github action for linting (#3794) 2020-11-22 14:50:29 -07:00
standardstek all: Recover from panics in goroutines 2020-05-12 11:36:20 -06:00
acmeissuer.go admin: Identity management, remote admin, config loaders (#3994) 2021-01-27 16:16:04 -07:00
automation.go httpcaddyfile: Fix default issuers when email provided 2021-02-02 16:17:26 -07:00
certselection.go caddytls: Encode big.Int as string with JSON 2020-04-02 09:43:33 -06:00
connpolicy.go Minor comments 2020-12-02 13:27:08 -07:00
fileloader.go chore: make the linter happier (#3245) 2020-04-08 15:31:51 -06:00
folderloader.go ci: Use golangci's github action for linting (#3794) 2020-11-22 14:50:29 -07:00
internalissuer.go ci: Use golangci's github action for linting (#3794) 2020-11-22 14:50:29 -07:00
matchers.go caddytls: Match automation policies by wildcard subjects too 2020-03-26 14:01:38 -06:00
matchers_test.go caddytls: Support wildcard matching in ServerName conn policy matcher 2020-03-20 15:51:37 -06:00
pemloader.go chore: make the linter happier (#3245) 2020-04-08 15:31:51 -06:00
sessiontickets.go all: Recover from panics in goroutines 2020-05-12 11:36:20 -06:00
tls.go admin: Identity management, remote admin, config loaders (#3994) 2021-01-27 16:16:04 -07:00
values.go go.mod: Upgrade some dependencies 2020-12-08 14:06:52 -07:00
zerosslissuer.go caddytls: Support multiple issuers (#3862) 2020-11-16 11:05:55 -07:00