TLS pass through NodeBalancer
Hi,
I want to pass through TLS to a service running on my linode. When I setup a NodeBalancer with two ports the non-TLS port works fine. But the one with TLS gives me errors. For instance when I use OpenSSL
openssl s_client -showcerts -servername <MY_DOMAIN> -connect <NODEBALANCER:PORT>
I see
139894479065728:error:1408F10B:SSL routines:ssl3_get_record:wrong version number:../ssl/record/ssl3_record.c:331
I get the same with curl. However on my localhost the very same commands work e.g
openssl s_client -showcerts -servername <MY_DOMAIN> -connect localhost:3456
Any ideas what is wrong. The very same software works on AWS without any issues using a network loadbalancer.
Thanks
3 Replies
I had the a similar SSL error. But in my case I needed to make sure the Linodes I added to the port 443 NodeBalancer configuration were using port 443. The CloudManager form defaulted the port to 80 even though I was setting up a configuration for port 443. In my opinion, the form should leave the port blank and force you to consciously fill it in, rather than assuming a default value.