Is HAProxy able to pass SSL requests to Apache + mod_ssl?
- by Josh Smeaton
Most of the documentation I've read regarding HAProxy and SSL seems to suggest that SSL must be handled before it reaches HAProxy. Most solutions focus on using stunnel, and a few suggest Apache + mod_ssl infront of HAProxy.
Our problem though, is that we use Apache as a reverse proxy to a number of other sites which use their own certificates. Ideally what we'd like, is for HAProxy to pass all SSL traffic to Apache, and let Apache handle either the SSL or reverse proxying.
Our current setup:
Apache Reverse Proxy -> Apache + mod_ssl -> Application
What I'd like to do:
HAProxy -> Apache Reverse Proxy -> Apache + mod_ssl -> Application
Is it possible to do this? Is HAProxy capable of forwarding SSL traffic to be handled by a server BEHIND it?