request help: How to do that make apisix not strictly abide by the SNI protocol
Issue description
Environment
- apisix version (cmd:
apisix version): 2.5
When the HTTPS passes Alibaba cloud's WAF, the SNI protocol is lost and apisix directly reports an error of sni
This is a known bug of aliyun's WAF. It doesn't proxy the SNI even in 2021.
Can apisix add a switch to control whether apixis is strictly SNI
My suggestion is to use another cloud vendor which WAF works in a modern way. It's technically impossible to load certificates dynamically without knowing the SNI, unless you can deploy your own TLS handshake protocol.
There are many historical reasons why the exchange WAF cost is too high,What I mean is to return a default without getting SNI instead of directly returning it, like ingress
Duplicate of https://github.com/apache/apisix/issues/3147 See my suggestion in https://github.com/apache/apisix/issues/3147#issuecomment-752039772. The thing may change since it is written a half year ago. If you submit a PR we can accept it.
My suggestion is to use another cloud vendor which WAF works in a modern way. It's technically impossible to load certificates dynamically without knowing the SNI, unless you can deploy your own TLS handshake protocol.
AliCloud is the largest cloud vendor in China, and changing the WAF is no longer just a software issue, but an enterprise capital issue.
Are there other better ways, such as allowing users to configure their own default certificates, rather than just rejecting them and thus making them unavailable?
I already provide a suggestion about how to do that.
Duplicate of #3147 See my suggestion in #3147 (comment). The thing may change since it is written a half year ago. If you submit a PR we can accept it.
Also, it is a piece of good news for Tencent cloud and Huawei cloud, and other cloud vendors. If Aliyun WAF doesn't even support proxying SNI in 2021, why not take a look at other cloud vendors which probably do better?