V2: Automatic https certificate errors

Hi @matt,

I think this is an issue of Caddy v2 which is easily reproducable.

Have a Caddyfile in caddyfile-style and put one FQDN with certificate and key path, and one without specific paths for cert files in (so Automatic Lets Encrypt generates one for you).

You’ll see, that even in latest master, Caddy will fail to serve the FQDN that has specified cert and key paths.

I believe I’ve fixed this in caddyfile: tls: Ensure there is always a catch-all conn policy (#3005) · caddyserver/caddy@4a07a5d · GitHub – please pull the latest from the v2 branch and try again, if you would!

1 Like

You nailed it! :raised_hands:t2: Now both LE, and external cert sites together in one config work fine again after this commit.

Thank you so much, @matt! and also thanks to @balloon :v:

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.