Twilio HTTP 请求是否支持使用 SNI 和 ECDSA 的 Universal SSL 的 SSL 配置?

Does Twilio HTTP requests support the SSL configuration of Universal SSL - which uses SNI and ECDSA?

我已经在我的 Digital Ocean VPS 上设置了一个 API 端点来接收传入的 SMS 到我的 Twilio 号码。它 工作。

然后我开始使用 CloudFlare。我相信在那之后它就停止工作了,但由于我很少收到短信,所以我不太确定。虽然 Twilio 的网站表明他们发送了一个 HTTP 请求并收到了 502 Bad Gateway 错误,但我的服务器日志从未记录任何来自 Twilio 的传入请求。我知道我的 API 端点可以工作,因为当我在 Chrome 浏览器中手动输入 API 端点时,我的服务器会收到它并按预期记录 GET 请求。

我试图向 Twilio 的支持人员询问所谓的失败请求的全部细节,但他们拒绝提供给我。

有谁知道调整 CloudFlare 中的哪个设置可以解决这个问题?我已经尝试关闭并降低所有安全设置,因为我认为这可能是防火墙问题。在不完全关闭 CloudFlare 的情况下,我还能如何调试这个问题(我需要它用于其他目的)?我会接受导致解决方案的第一个答案或建议。谢谢!

编辑: 这是 CloudFlare 的回复

One thing to ask them, is whether they support the SSL configuration of Universal SSL - which uses SNI and ECDSA. We have seen instances of 3rd party services not supporting one or both of these, and therefore failing to make calls via HTTPS.

Universal SSL support is defined by the client machine's support for two newer features:

Server Name Indication (SNI) Elliptic Curve certificates (ECDSA) What browsers work with Universal SSL?

If you need broader browser compatibility for older browsers/operating systems, our Pro plan plan provides this.

Also, if you want to get full information about what your browser supports, this site will run a check on your browser and tell you the support your browser has for protocols, ciphers and SNI:

https://cc.dcsec.uni-hannover.de/

您可能需要检查 Server Name Indication (SNI) Twilio 不支持此功能,因此您会收到 502 Bad Gateway。同样的事情也发生在我身上。我能够使用 Cloud flare Pro 解决此问题,请参阅此 post

这里是 Twilio 开发人员布道者。

好消息,Twilio 现在支持 SNI!所以,这应该不再是问题了。