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

-4

u/Dave3of5 Nov 24 '16

And yet his blog uses cloudflare SSL rather than let encrypt. Still SSL though !

8

u/terrarum Nov 24 '16

Cloudflare is a CDN and they provide SSL between their servers and the client for free. I think you can provide your own certificate to them? If so, you could possibly generate a LetsEncrypt cert and upload it to them, but I don't think there's much reason for the average person to do that.

Where LetsEncrypt comes in is when securing the connection between the origin server and Cloudflare. Cloudflare mirrors your site, so they need to connect to your server to get files they don't have. That connection can be open if you want, or you can install a cert on your origin server so that that connection is over https. LetsEncrypt is a really simple way to get a free cert for your origin server.

-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?

1

u/terrarum Nov 24 '16

Ah, I'm sorry! Your comment made me think you thought it wasn't possible to use LetsEncrypt SSL and Cloudflare SSL at the same time, that's all. Just FYI I haven't been downvoting you, and I don't think you're dissing LetsEncrypt.

You're right about performance of course, but if you were paranoid about security I imagine you'd want to encrypt the connection between origin and Cloudflare. I didn't know you could just use your origin's SSL and ignore Cloudflare's service, but if that's a paid service as /u/disclosure5 says than that explains why I didn't know that :D

→ More replies (7)