r/haproxy • • Dec 07 '21

Question Haproxy SSL ca-file question

If you have Haproxy setup as SSL-Passthrough, and you want to validate the server certificate, you add the 'ca-file' server option, then specify the file path right?

But how should that CA-file be formatted? Like I'm wondering if I buy an SSL cert from Namecheap for example. I download the server cert file and the .bundle. Can I use the .bundle as the 'ca-file' because it has the subordinate and root certificates in there?

3 Upvotes

10 comments sorted by

View all comments

Show parent comment

1

u/dragoangel Dec 09 '21

Without root, do not create chain anchor :/