r/programming • • Nov 24 '16

Let's Encrypt Everything

https://blog.codinghorror.com/lets-encrypt-everything/
3.5k Upvotes

508 comments sorted by

View all comments

Show parent comments

3

u/pfg1 Nov 24 '16

If you want to use Cloudflare and support https, you're going to need to use their SSL. You can certainly provide your own certificate and private key, but they'll have access to that and terminate SSL on their servers. As for the communication between Cloudflare and your origin servers, you'd need a certificate for that too (either a regular trusted certificate, or one from their internal Origin CA).

If you're letting your "origin server take care of SSL", then that's not really an origin server, it's just your web server, and you're using Cloudflare as a DNS provider only. They won't do any WAF/DDoS filtering, etc. in that scenario. (Not that everyone necessarily wants or needs that! Just to define what people typically mean when they say "site X uses Cloudflare".)

-1

u/Dave3of5 Nov 24 '16

Thanks I know all this ...

They will still do DDoS filtering even with DNS only. It just different from that page that they display.

Cloudflare started as a fast DNS service that had good DDoS filtering built in I guess people forget that.

3

u/pfg1 Nov 24 '16

They'll prevent DDoS attacks on the DNS layer (i.e. taking down your domains DNS server), but they won't stop anyone from taking down your site via volume or layer 7 based DDoS attacks. That's not possible once an attacker has the actual IP of your origin servers (which they have in this scenario). That's not a practical DDoS mitigation strategy.

-1

u/Dave3of5 Nov 24 '16

And I'm agreeing with you here. Why are you arguing against this? I said you get limited DDoS i.e. against your DNS but if you want more then sure you can use the cloudflare WAF stuff ... etc

That's not a practical DDoS mitigation strategy.

Not sure there is any practical DDoS mitigation strategy for most. Every large scale DDoS has taken the target offline even with cloudflare. Hiding your servers IP behind cloudflare also doesn't work anymore: http://www.crimeflare.com/cfs.html

→ More replies (5)