Home > Mobile >  Ssl certificate on a tcp load balancer?
Ssl certificate on a tcp load balancer?

Time:12-01

I was wondering if an ssl certificate can be added to a tcp load balancer or does this require an http load balancer?

I do this through google cloud platform.

CodePudding user response:

As explained in the document, Google managed and Self signed SSL certificates are not supported for TCP/UDP Load balancer.

As a workaround for testing purpose, you can follow the below steps :

  1. With service type as “Load balancer”, try to install the 3rd party SSL certificate in the backend “evserver” pod itself with port 443 and check whether you were able to access it without certification error.
  2. Another method is to try to use the service as type “Nodeport” instead of service with type “Load balancer'' and check whether you were able to access it.

CodePudding user response:

Use TCP proxy load balancer when you are dealing with TCP traffic and do not need SSL offload.

Use SSL proxy load balancer when you are dealing with TCP traffic and need SSL offload.

If you are still not sure about what Load Balancer to choose, please read through this helpful document to know more about different Load Balancer types and their appropriate use case.

  • Related