Enabling SSL termination on load balancers

Enable automatic SSL termination

You can activate SSL termination on HAProxy 1.5.x or higher and Amazon Elastic Load Balancer through SSL certificate add-in.

If you need help getting started with SSL and certificates on Maestro follow our detailed SSL guide.

Amazon Elastic Load Balancer

To register an SSL certificate with Amazon Elastic Load Balancer, first, generate your certificate(s). If you’re not sure how to do this, follow our blog post on the subject.

You can upload your SSL certificates to the relevant load balancers using the AWS dashboard or the command line interface.

Using the AWS dashboard

Important

Ensure that the certificate is valid. The current date must be between the certificate’s start and end dates. You must also remove any passphrases from your certificate keys.

Using the AWS command line

Through the AWS ELB command line interface:

$ iam-servercertupload -b <CA authenticated SSL> -k <private key file(.pem)> -s <certificate name>  -c  <certificate chain file> –v
$ iam-servercertlistbypathx
$ elb-create-lb-listeners ELBConfigureSSL --listener "protocol=HTTPS,lb-port=443,instance-port=80,instance-protocol=HTTP, cert-id=&<certificate name>"
$ iam-servercertdel -s <certificate name>

Refer to the AWS documentation for more information.

Rackspace

Rackspace makes it very easy for you to add SSL certificates to their cloud load balancer, straight from its control panel.