Replies: 5 comments 20 replies
|
So ALB doesn't send the original hostname in the request? Does it send any hostname? All of the server blocks are defined based on the |
|
Hi @mikkoc You asked in your first post if "there any chance nginx could ignore the lack of SNI?" Could you show us the configuration you used for |
|
Reviving this thread after thinking about things more and gaining a better understanding of how things work (and understanding that I was probably on the wrong path thinking about the Host header). The Host header is probably still set, it's just SNI that's not set (I'm assuming). If that's the case, then adding a default cert/key to the default server should actually solve this problem. The request without SNI would initially hit that server and be terminated, but then nginx would use the Host header to route to the proper server block for that hostname. I've created #4836 to track this work. |
|
This issue should now be fixed in our main branch (edge release) and will be included in our 2.5 release. This doc snippet (currently not in our official docs until the 2.5 release) explains how to set things up properly to get non-SNI traffic working. |
|
Hey @sjberman Thanks for the great job ! Is it already implemented in the edge release ? I did : In my gateway : But seems my default server still does not handle ssl handshake Versions : And I applied 1.5 CRD Did I miss something ? Thanks :) |
Uh oh!
There was an error while loading. Please reload this page.
Similarly to #3977 but using ALB instead of NLB.
We terminate HTTPS at the ALB and then we must re-establish HTTPS (with a self-signed cert, but it does not matter since ALB does not validate it) on EC2 backend nodes, where NGINX Gateway Fabric is running.
ALB does not relay SNI information according to AWS support.
nginx does not like that and logs:
Enabling debug logs, we can see that
SSL server name: null:I have been down the rabbit hole with GPT to make it work, but was unable to.
Is there any chance nginx could ignore the lack of SNI? This works just fine (by default) with
ingress-nginxbut we need to migrate away from it.Below our Helm values:
All reactions