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

-1

u/Dave3of5 Nov 24 '16 edited Nov 24 '16

I know what cloudflare (I use it myself) is you don't have to use their SSL.

You don't need to use cloudflare SSL, in fact if you are using cloudflare and LetEncrypt on the origin server it would be slightly odd as you are adding extra latency to every call. I better way would be use the cloudflare DNS as is and have the origin server take care of the SSL.

Edit: Why do you think I'm dissing LetEncrypt?

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.

→ More replies (6)