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

8

u/Kalium Nov 24 '16

No, it doesn't work for BYOD scenarios, though if you're running a full proxy you can strip HSTS headers. This is a feature of HTTPS, rather than a bug. BYOD + LAN-local cache is indistinguishable from an attack.

What kind of scenario are you in where you have a strong reason to do this to your users while supporting BYOD?

11

u/Badabinski Nov 24 '16

A retailer has their entire catalog of videos on YouTube and want to make them available to people in the stores on their phones. Their pipe is incredibly slow and upgrading the pipe is prohibitively expensive. If they could cache YouTube on a local proxy cache it wouldn't be a problem. As it is, there's nothing this retailer can do.

1

u/Kalium Nov 24 '16

Ah. Sounds like you want to download the videos and serve them locally, then.

6

u/Badabinski Nov 24 '16

I wish it were that easy. You can't serve the locally downloaded videos as YouTube, which means a shitload of work for something that is painless with HTTP.

Don't get me wrong, I like HTTPS, but there has to be a way to allow caching and anti-tampering. We have plenty of examples in Linux package managers.

→ More replies (3)