I've been following this tutorial:

http://www.exratione.com/2012/12/websockets-over-ssl-haproxy-nodejs-nginx/

...but I've been having problems connecting to Nginx through HAProxy via
SSL.

I'm getting Error 107 (net::ERR_SSL_PROTOCOL_ERROR): SSL protocol error. in
Chrome after the HTTP to HTTPS redirect and (Error code:
ssl_error_rx_record_too_long) in Firefox.

I think it has something to do with the concatenation of files to create a
.pem file.

Things I've tried:

- Disabling HAProxy and accessing Nginx directly using SSL which works
- Not using SSL on HAProxy to access Nginx, this also works
- Creating new SSL certificates following these steps:
http://wiki.nginx.org/HttpSslModule
- Checking permissions on SSL certificate files

More information including configs here...
http://serverfault.com/questions/494641/ssl-termination-with-haproxy-and-nginx-on-ubuntu

Thanks,

Ash

Reply via email to