4.16. SSL termination

You can configure SSL termination only on load balancers with non-secure protocols. For example, SSL termination can be applied to an HTTP load balancer, but not to an HTTPS load balancer.

SSL-terminated load balancers decrypt the traffic at the traffic manager and pass unencrypted traffic to the back-end node. Because of this, the customer's back-end nodes don't know what protocol the client requested. Therefore the X-Forwarded-Proto (XFP) header has been added for identifying the originating protocol of an HTTP request as "http" or "https" depending on what protocol the client requested.

Not every service returns certificates in the proper order. Please verify that your chain of certificates matches that of walking up the chain from the domain to the CA root.

To be used with HTTP to HTTPS redirection, securePort must be set to 443 and secureTrafficOnly must be true Refer to the description for the <code>httpsRedirect</code> attribute for the Create Load Balancer API Operation for details..

All requests to SSL termination in the JSON format require the key/certificates to be in proper JSON format, meaning that all raw line feed characters should be wrapped in a newline character. So if you paste in the key from a mykey.key file, JSON does not properly handle the field. The key/certificates can be wrapped in a newline character in Java, for example, using string.replaceAll("\n", "\\n").

[Warning]Warning

If SSL is enabled on a load balancer that is configured with nodes that are NOT in the same datacenter, then decrypted traffic is sent in clear text over the public internet to the external nodes and is no longer secure.

MethodURIDescription
GET/v1.0/{account}/loadbalancers/{loadBalancerId}/ssltermination

Shows the load balancer's SSL termination configuration.

PUT/v1.0/{account}/loadbalancers/{loadBalancerId}/ssltermination

Updates the SSL termination configuration.

DELETE/v1.0/{account}/loadbalancers/{loadBalancerId}/ssltermination

Deletes SSL termination.



loading table of contents...