-
-
Notifications
You must be signed in to change notification settings - Fork 863
Description
Hello there,
I'm trying since yesterday, to create a new symfony project.
I pulled this repo, and then:
- If I "do nothing", the base Symfony page is accessible at
https://localhost/
- If I try to change the exposed port on the compose file, I can access
https://localhost:<PORT>/
Good.
Usually, what I do is actually : set up a new DNS alias project.tcoch.local
, declare this in a DNS server, and in my HAProxy configuration. This means that I can work on multiple projects not by adressing https://localhost:<PORT_FOR_PROJECT>/
, but rather https://project.tcoch.local/
.
Up until a few days (weeks ?) ago, this worked fine for me, by providing the certificate via a volume mount in compose.yaml
and adding CADDY_SERVER_EXTRA_DIRECTIVES: "tls /etc/caddy/certs/tls.pem /etc/caddy/certs/tls.key"
(as per tls.md
).
But since yesterday, no luck. I got this error:
no matching certificates and no custom selection logic {"identifier": "172.21.0.2"}
Since I get logs when trying to access https://project.tcoch.local
, I believe that DNS and HAPorxy (which I liek tripled-checked) is fine.
Somehow, Caddy server sees this SNI in the logs, but for some reason, actually looks for an auto-generated certificate, based on the container IP ?
I do not see anything in this repo and its recent PR that could cause this. However, there has been some new version v1.5 released recently. Could it be the source?
I'm not sure where to look. If you guys need more info / logs, please feel free to ask, I'll provide as soon as I can.