Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有什么方法可以检测 Rails 中的 SNI SSL 支持吗?从这篇维基百科文章来看,如果用户代理是 win XP 上的 IE,我可能知道没有 SNI 支持。但是,我正在寻找更通用的解决方案。谢谢。
我很确定简短的回答是:不。由客户端支持使用 SNI 协议验证您的证书。因此,您所能做的就是使用白名单或黑名单(在某处可能有一个相当不错的名单)。