I believe the “Check certificates” service should offer an option to manipulate SNI.
In my case I own 4 reverse-proxies that are in failover using keepalived, each of them is in charge of getting and renewing certificates for the services they proxy, they all proxy the same services, so gitlab.example.com should have 4 distinct certs 1 on each proxy the same as files.example.com another 4 certs 1 on each proxy and so on.
Only 1 proxy is the master at any time, so if I use the check certificate service it will only probe the currently master proxy for it’s certificate, regardless of which host it runs for.
I was able to find a way with the check http webservice to enable certificate checks but I don’t get the nice graphs and tracking of each certificate…
I do not with to create 4 services 1 for each of my proxy…
Am I missing something here ? or would it be a good enhancement to add SNI support (like “Virtualhost” in the deprecated check http service…) to the check certificate service ?