Using haproxy 1.5 to terminate ssl connections

Updated -

SSL termination has the advantage of allowing HTTP headers to be modified by haproxy (eg. X-Forwarded-For). With SSL passthrough, this
is not possible. On the other hand, SSL passthrough is more secure and defers SSL decryption to the backend web servers.

First, generate and SSL key and a self-signed certificate on the load balancer node:

# mkdir /etc/pki/haproxy
# ...

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In