I switched one of my projects from being behind an NGINX reverse proxy to using Bandit directly with site_encrypt
. I have done this numerous times before without any issues.
On this server however, I immediately start to get SSL errors.
2024-10-20T11:54:05.143208+00:00 api gratwifi[70328]: 11:54:05.142 [notice] TLS :server: In state :hello at tls_handshake.erl:354 generated SERVER ALERT: Fatal - Insufficient Security
2024-10-20T11:54:05.143410+00:00 api gratwifi[70328]: - :no_suitable_ciphers
In my NGINX config I had these set:
ssl_protocols TLSv1.2 TLSv1.3;
ssl_prefer_server_ciphers off;
ssl_ciphers "ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384";
Currently I have :cipher_suite
set to :compatible
, it was originally set to :strong
, it does not seem to make a difference.
Is there a way I can at least see who is connecting (IP) so I can see if it is something in my remote software or if it is clients.