NodeBalancer without SSL termination -ERR_SSL_PROTOCOL_ERROR
My nodebalancer works great with HTTP with the single linode I have behind it.
My websites work great ordinarily over HTTPS, but as soon as I try to use HTTPS through the nodebalancer (TCP protocol), I get the following error in Chrome and a similar one in Firefox:````
Error code: ERRSSLPROTOCOL_ERROR
My nodebalancer configuration page:
Port 443 tcp source table connection 1 up, 0 down
Port 80 http source http_cookie http 1 up, 0 down
````
Both of nodes on the nodebalancer are using the private IP of the linode with the correct port (192.168.1.1:443) and as you can see above they both say the server is "up".
Why am I getting this SSL protocol error message?
BTW I don't claim to know very much about SSL protocol…
Edit: What a doofus--this doesn't have anything to do with email/SMTP. If I could move it, I would.
7 Replies
Double check whether your backend server is actually using SSL on port 443. If it's not, you're gonna want to turn it on (and make sure it's serving HTTP on port 80, so you can route the NodeBalancer's port 80 traffic there).
- Les
Do I need to check that it's using SSL on port 443 when it's accessed from its network? I might need a pointer how to check that.
If by chance you're actually using "192.168.1.1:80" and "192.168.1.1:443": that IP definitely isn't your Linode's private IP, and you should use your real private IP that you find on the Remote Access tab.
- Les
Server private: 192.168.182.86
Newark
No I was using the real private IP. I should have denoted the numbers with 192.168.x.x but now what difference can it make.
While we're at giving out specific info, here's the hostname as well that I've been working with: strictlyt.com
I tested it at
Your backend server is throwing the error, not the NodeBalancer:
❯ curl -I https://192.168.182.86
curl: (35) error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol
This is because your backend is responding with HTTP on port 443, not HTTPS:
❯ curl -I http://192.168.182.86:443
HTTP/1.1 302 Found
Date: Wed, 17 Dec 2014 05:25:24 GMT
Server: Apache/2.4.10 (Unix) OpenSSL/1.0.1e-fips mod_bwlimited/1.4
Location: http://192.168.182.86:443/cgi-sys/suspendedpage.cgi
Content-Type: text/html; charset=iso-8859-1
As I said, you're going to want to look into that.
- Les