Currently on my local development machine I’m using Caddy version 0.11.0, and have been wanted to upgrade to 1.0.0 for some time now.
Recently I got some time to try to upgrade, but when I run it I get the following message:
self-signed: certificate has no names
Since this prevents me from using Caddy 1.0.0 on my local machine, is there anything I can do to resolve this?
Edit: I just noticed this PR here relating to this exact issue: https://github.com/mholt/caddy/pull/2531
Is the solution to just manually copy the changes over from that PR when building from source, or should I just wait for it to be fixed in a way that Matt is happy with?
I didn’t realise that this issue was specific to catch-all configurations, so I had a look around at the conf files I’ve got. Turns out there’s one conf file hidden away with a catch-all config in it.
I don’t need a catch-all anyway, so I just removed it and it’s all ok now