Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

could you please advice how to apply SSL certs on web servers behind a load balance server. Do we need to apply SSL certs on all the web servers or apply it to the load balancer only.

scenario: if we have three web servers say www1, www2, www3 behind a load balance we need to apply SSL certs on www1, www2 and www3??

share|improve this question
What kind of load balancer? Are you looking to have the load balancer terminate SSL and send unencrypted traffic to the servers behind it, or have it just proxy raw TCP connections and have the web servers terminate the SSL connection? – Shane Madden Dec 29 '12 at 9:05
up vote 1 down vote accepted

You can do either. The certificate vendors should have instructions on their web sites for generating keys and CSRs and installing certificates on various web servers and load balancers. Note that the type of certificate needed may vary. You might also want to configure session stickiness, and note that SNI might not be available on very old browsers (which in practice means ie6).

share|improve this answer

In most cases, you will have to just setup https on your load balancer with Server Name Indication. For example, you can use nginx as SSL reverse proxy for your sites (very good guide).

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.