3 ms·
There is no single CloudFlare certificate/private key, that's not how CloudFlare works. The certificate for Hacker News is unique to Hacker News. We deal with t
by jgrahamc 13y ago
There is no single CloudFlare certificate/private key, that's not how CloudFlare works. The certificate for Hacker News is unique to Hacker News. We deal with thousands and thousands of certificates.
Since HTTP/HTTPS requests for sites on CloudFlare pass through CloudFlare so do all parts of the HTTP header (including the Cookies). But since the certificate is unique to HN there's no more danger of a government compelling access to the certificate/key than there is if HN wasn't on CloudFlare (since the government could compel HN to give up the certificate/key).
Additionally, we would fight vigorously against an order to give up a private key. The foundation of our business is trust.
But it's interesting that you bring this up because we are shortly going to announce a new offering where even if the government tried to compel us to give up a private key we would literally be unable to do so. Stay tuned. And, by the way, that product will be open source.
- sillysaurus2 13y agoStill, does CloudFlare ever receive user cookies, e.g. my Hacker News cookies? A single weak spot in your cert management security practices (or a demand from a government) would compromise all of those thousands of certificates. And if you receive user cookies, then it seems true that anyone who has those certificates can obtain all user data from any of those websites. I'm confused how it's possible to let anyone sign up for CloudFlare for free within minutes, while also generating a certificate unique to their website, signed by a CA, because a signed CA SSL cert always costs money. For a website like CloudFlare, that would be a significant cost, wouldn't it? EDIT: I wrote my reply before your edit that gave the answer (yes, CloudFlare has all user cookies from all websites). Sorry. However: it's interesting that you bring this up because we are shortly going to announce a new offering where even if the government tried to compel us to give up a private key we would literally be unable to do so. This would be illegal. The US government has already asserted multiple times that it has the authority to compel any US website to give up any keys it demands. You will suffer the same fate as Lavabit: to be fined >$1k per day until you comply, with penalties increasing until you're unable to cover the cost. So what's your plan?
- jgrahamc 13y agoWe don't offer SSL on the free plan. SSL certificates are only available on our paid plans (https://www.cloudflare.com/plans https://www.cloudflare.com/plans). Yes, cookies enter CloudFlare's network. They have to, but they are not stored or logged in any way. In fact, the entire HTTP/HTTPS request is processed in RAM without any permanent storage and only for the life of the request (i.e. for the time it takes to forward it). http://blog.cloudflare.com/what-cloudflare-logs http://blog.cloudflare.com/what-cloudflare-logs
- deleted 13y ago[deleted]
- jgrahamc 13y agoWe won't have the private key, it will be retained by the web site owner and will not be present on our systems. In fact, we will never have seen the private key at all. And don't worry about pestering me about CloudFlare and security. These questions and problems are things that we think about every day. We (and I) worry about which ciphers to use for TLS connections, the best way to secure our internal secrets, 2FA, how we ensure that the code running on our machines is our code and on and on. http://blog.cloudflare.com/red-october-cloudflares-open-source-implementation-of-the-two-man-rule http://blog.cloudflare.com/red-october-cloudflares-open-sour...
- sillysaurus2 13y agoDamn... I might lose my account for deleting that comment (I promised the mods I wouldn't ever delete a comment that had a reply, since I did that way too excessively in the past). I deleted it because you'd already answered my question in a separate reply. Whoops. I hope they understand. Anyway, how can you generate HTTPS traffic without the private key? That seems to make no sense on a technical level. Really cool concept if that's possible.
- jgrahamc 13y ago
- atesti 13y ago>since the government could compel HN to give up the certificate/key Not if HN was an e.g. European company. >And, by the way, that product will be open source. Sounds great! Looking forward to it.