ssl - 启用 SSL 的 Cloudflare 代理如何连接到非 SSL 端点?

标签 ssl proxy cloudflare

这里是 Cloudflare 的新用户。

我有一个 A 记录,但我没有在我指向的服务器上安装任何证书。我知道您可以通过 CF 进行代理,并且 CF 在代理端点上设置了免费的 SSL。

我的问题是:CF 如何安全地连接到我的端点?还是我理解有误?

我的理解:

我 --[启用 SSL]--> CF 代理 --[没有 SSL?]--> 我的服务器

最佳答案

简短的回答是 CloudFlare 不会通过他们的免费 SSL 证书安全地连接到您的端点。

CloudFlare 提供三种类型的 SSL 设置,“灵活”是默认设置:

Flexible: They'll serve content over HTTPS from their infrastructure, but the connection between them and the origin is unencrypted

Full: Still HTTPS from CloudFlare to the browser but they'll also talk HTTPS to the origin although they won't validate the certificate

Full (strict): CloudFlare issues the certificate and they'll intercept your traffic, but then it's all HTTPS to the origin and the cert is validated as well

虽然来自 CloudFlare 的灵活、免费的 SSL 证书将向您的访问者展示一个安全的 HTTPS 挂锁,但此 method of SSL 仅存在于 CloudFlare 和 ISP 之间,存在于 CloudFlare 和您的服务器之间。灵活的证书在 50 个不同的域之间共享(向您的访问者显示每个域),但确实可以防止 WiFi 窥探等常见攻击。


灵活:

Flexible


完整:

Full


完整 证书还会加密 CloudFlare 与源之间的流量,但 CloudFlare 不会验证证书strict 证书解决了这个问题。

如果不确定您的 SSL 质量,我建议您查看 Qualys' SSL Labs test .

有关详细信息,请参阅 Troy Hunt's article 关于这个问题。

关于ssl - 启用 SSL 的 Cloudflare 代理如何连接到非 SSL 端点?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52939708/

相关文章:

javascript - 为什么我的嵌入式 javascript 代码没有显示在我的 WordPress 页面上?

amazon-web-services - Google Domains 和 AWS Route 53 和 S3 静态 Web 托管 - 添加 SSL 证书

dns - 如何在不更改域名称服务器的情况下测试 CloudFlare

php - 如何阻止客户端IP地址在Cloudflare/Docker/NGINX/LAMP站点中丢失?

ssl - 通过客户端证书验证保护特定的 nginx-ingress 位置

apache-spark - 在 Apache spark 和 Kafka 代理之间启用 SSL

go - 如何通过golang做代理

javascript - insertBefore 代理元素 : parameter 2 is not of type 'Node'

Javasocks代理使用本地DNS

php - 我如何使用 CloudFlare 地理定位检测所有欧洲国家