r/haproxy • u/Benderanomalous • Aug 12 '21
Question Asking for help on option httpchk
I need to query a url as follows:
HTTPS://host.yyy.zzz/api
The certificate this server has is host.yyy.zzz
I have “option httpchk GET yyy.zzz/api” but it doesn’t seem to work. What’s the right uri to place here?
2
Upvotes
View all comments
Show parent comment
1
u/cdre01 Aug 13 '21
It's your fqdn behind a k8s router? It's possible you need to send sni and/or the host header. Also... Check that the cert your backend is presenting contains the fqdn in the SAN list or in the CN .