Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

A server admin who is setting up a load balancer asked me if I wanted to:

  1. Host SSL certs directly on web servers
  2. or, Proxy SSL from the load balancer

I've only done the former implementation. Can someone compare these?

If I have a web application that requires HTTPS for certain page, will it be impacted by this choice?

share|improve this question

1 Answer 1

up vote 1 down vote accepted
  1. Your web server has to do all the SSL/TLS processing. It means more load on the web server, but you have full control over the certificates and end-to-end security.

  2. Your web server can serve everything as normal web pages, offloading the SSL/TLS processing. Considerably lower load on the web server, but you don't control the certificates yourself any more and break end-to-end security.

In the end it comes down to if you trust the security of the load balancer and the network between load balancer and web server. If not, don't bother. Note that if you are running credit card transactions or something similar there are a some rather strict rules about when you may send the data unencrypted from SSL/TLS offloading to your server. Moving the certificate is not really a security advantage (somebody breaking into your web server is going to get all the data, regardless of if they can steal your certs or not).

Do you have such an overhead from SSL/TLS that you really need to offload it to external hardware?

Typically you can setup the offloading system to only provide SSL/TLS security where it is really needed.

share|improve this answer
    
I don't think it's a huge overhead, but it seems it would be simpler to maintain the cert in one place (the load balancer) rather than install it on each server on the farm. However, I am wondering if, in config #2, the web application code will be able to detect whether a page was requested over a secure channel. We have certain business rules about which pages should require HTTPS connections, etc. –  frankadelic Mar 11 '10 at 0:40
    
The systems I have worked with sets a http header which informs you that the channel was properly encrypted. There is most likely something similar on your system. –  pehrs Mar 11 '10 at 8:50

Your Answer

 
discard

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.