caddy/modules
Matthew Holt d692d503a3
tls/http: Fix auto-HTTPS logic w/rt default issuers (fixes #3164)
The comments in the code should explain the new logic thoroughly.
The basic problem for the issue was that we were overriding a catch-all
automation policy's explicitly-configured issuer with our own, for names
that we thought looked like public names. In other words, one could
configure an internal issuer for all names, but then our auto HTTPS
would create a new policy for public-looking names that uses the
default ACME issuer, because we assume public<==>ACME and
nonpublic<==>Internal, but that is not always the case. The new logic
still assumes nonpublic<==>Internal (on catch-all policies only), but
no longer assumes that public-looking names always use an ACME issuer.

Also fix a bug where HTTPPort and HTTPSPort from the HTTP app weren't
being carried through to ACME issuers properly. It required a bit of
refactoring.
2020-03-20 20:25:46 -06:00
..
caddyhttp tls/http: Fix auto-HTTPS logic w/rt default issuers (fixes #3164) 2020-03-20 20:25:46 -06:00
caddypki pki: Don't treat cert installation failure as error 2020-03-14 15:20:04 -06:00
caddytls tls/http: Fix auto-HTTPS logic w/rt default issuers (fixes #3164) 2020-03-20 20:25:46 -06:00
filestorage httpcaddyfile: Many tls-related improvements including on-demand support 2020-03-17 21:00:45 -06:00
logging Refactor for CertMagic v0.10; prepare for PKI app 2020-03-06 23:15:25 -07:00
standard v2: Implement 'pki' app powered by Smallstep for localhost certificates (#3125) 2020-03-13 11:06:08 -06:00