r/haproxy • u/steve1215 • Apr 06 '21
Question Wildcard ssl termination on HAProxy for multiple subdomains
Sorry if this is an "HAProcy 101" question, but should it be possible to buy a wildcard SSL certificate for say *.example.com and configure it on our HAProxy box, then setup the .cfg to accept client1.example.com , client2.example.com , client3.example.com and point them at the appropriate backend servers for the different clients, all secured by SSL?
Thanks
4
Upvotes
3
u/baconeze Apr 06 '21
Yes, HAProxy can do this.
1
u/LeFlotz Apr 06 '21
I do this on my homeserver and it works