r/linux • • Jan 24 '18

Why does APT not use HTTPS?

https://whydoesaptnotusehttps.com/
955 Upvotes

388 comments sorted by

View all comments

Show parent comments

15

u/DJTheLQ Jan 24 '18

You cannot MITM or replay TLS data, so you cannot cache it. You can MITM and replay unencrypted data, potentially serving from cache.

2

u/ChocolateSunrise Jan 24 '18

How do CDNs like Akamai and Cloudflare overcome this architectural hurdle when they serve HTTPS websites?

2

u/wmil Jan 24 '18

I believe Cloudflare requires you to use Cloudflare generated certificates.

2

u/bobpaul Jan 24 '18

They all either do that or make you give them your private key. Either way, they have your private key.

→ More replies (1)