4 ms·
Not only the Open web is dying, the Intranet web is also dying https://blog.chromium.org/2019/10/no-more-mixed-messages-about-https.html https://blog.chromium.
by est 7y ago
Not only the Open web is dying, the Intranet web is also dying
https://blog.chromium.org/2019/10/no-more-mixed-messages-about-https.html https://blog.chromium.org/2019/10/no-more-mixed-messages-abo...
Since Chrome v80 they forced <video> <img> content to switch to HTTPS, if the page itself is served https. Is it really a good idea? So for Intranet URLs with customize TLDs, you have exactly three choices:
1. Turn off the upgrade-insecure-requests or CSP crap in browser config completely. This voids all the security features browser-wide.
2. Install a company wide root cert. Yeah because enabling the company to MITM all TLS traffic is more secure than streaming videos over http in a company LAN.
3. Train the end-users to click "trust certs with invalid Common Name". That's will teach them.
Did I miss something here? What kind of Web do we live in these days?
- nine_k 7y agoDidn't you notice that monitoring all internal traffic is desirable in most companies, and sometimes is a compliance requirement? Didn't you notice that company-wide root certs were being pushed by corporate OS / browser policies for years, if not decades? I really fail to see a point here. Can you please mention a compelling case?
- est 7y ago> Didn't you notice that monitoring all internal traffic is desirable in most companies No I did not. Sorry. Just because it's popular does not mean it should be implemented. Also isn't HTTP content makes the whole monitoring crap easier? Sigh. There are many BYOD companies, it's uncivil to monitor other people system wide. Lastly, encrypt with TLS then MITM decrypt is not carbon friendly. It's such a retarded waste of energy. Might just allow a directive in CSP to force downgrade everything to http. Problem solved.
- Aeolun 7y agoMost (if not all) companies that push a system wide root certificate do not allow you to BYOD for the same reason they install that root certificate.
- est 7y ago> companies that push a system wide root certificate I wish those companies good luck, and I wish an open Web moves away from those companies as far as possible. If browser vendors wants to kiss corporate ass then I vote by uninstall them.
- nine_k 7y agoIn every company in the US where I ever worked, my contract explicitly stated that all communications from company-provided devices belong to the company. I very much see the point. For private communication, use your own device and a guest network, a setup also seen everywhere. I haven't seen a BYOD setup that would allow whatever you please on the corp network. Did you? What industry it was? Genuinely curious; I believe a lot of things exist that I'm not aware of. > isn't HTTP content makes the whole monitoring crap easier? Not really. HTTPS remains encrypted where servers reject a downgrade, but an intruder can potentially force a downgrade in something misconfigured and snoop something important without having the root key. > not carbon friendly I suspect that switching off some of the endless lights in offices when sunlight more than suffices would have a seriously larger energy-saving impact.
- est 7y ago> I haven't seen a BYOD setup that would allow whatever you please on the corp network. You are right, there are rules, like the custom TLD is for authorized LAN users only. A public resolvable address is risky be cause the domain has a traceable ownership and identity, it relies on unnecessary external authorities. For the migration I am considering deploy a company wide cert. But also I am frustrated because browsers shouldn't dictate the kind of Intranet structure we use. If we still believe the Web should remain open, let the browsers behave more neutral.
- MathiasPius 7y agoIn regards to point number 2: the Name Constraints extension[1] appears to be getting more support, at least in Chrome and Firefox on non-OSX devices[2], which could help mitigate the very serious vulnerability presented by installing root certificates, by limiting the CAs scope to just the company domain, for example. [1] https://tools.ietf.org/html/rfc5280#section-4.2.1.10 https://tools.ietf.org/html/rfc5280#section-4.2.1.10 [2] https://nameconstraints.bettertls.com/ https://nameconstraints.bettertls.com/
- est 7y agoThe point is, with a customized TLD, we don't need HTTPS traffic of videos in a LAN. Serving whatever content we embed in a HTTPS page should be a constitutional right.
- MathiasPius 7y agoA custom tld is only custom until it's not (see .dev, .corp), and using them for intranet purposes is widely regarded as bad practice. If you're already serving regular content over HTTPS internally, then I don't see the big issue in serving video and images the same way, but I'm not familiar with your particular use case so you may of course have a point here that I'm ignorant of.
- est 7y ago> them for intranet purposes is widely regarded as bad practice We are talking about the Open Web here. I think TOR wouldn't be as popular if we do not allow custom TLDs. And I politely disagree with ICANN's new gTLDs expansion. domains like blog.google is wrong.
- sjy 7y agoCan’t you just use a Let’s Encrypt cert? The domain needs to be publicly resolvable, but it doesn’t have to resolve to the same IP returned by your internal DNS, and you can use wildcard certificates if you don’t want your internal subdomains to be publicly resolvable at all.
- est 7y ago> The domain needs to be publicly resolvable The company TLD was purposely built to hide behind the LAN. Been publicly resolvable is a huge a security risk. Public recursive resolvers will log where and when a user visits an internal site.
- kortilla 7y agoNow your internal infrastructure depends on let’s encrypt as well as an external DNS registrar.
- ThePhysicist 7y agoCan you not simply use a normal domain or subdomain and get a regular TLS certificate for it? The domain can still only be resolvable inside your Intranet using your internal DNS. You won’t need a special root CA in all browsers then.
- est 7y ago> simply use a normal domain or subdomain and get a regular TLS certificate Yes I can make that switch, but I also think every domain should be considered normal. However in this particular case, the Intranet TLD is purposely hidden from public resolvers.
- captn3m0 7y agoBy definition, ICANN TLDs are considered special, because the whole www PKI infrastructure only works for those. Browsers cater to those TLDs, and CAs have guidelines for those. I understand the need for hiding your TLD though. I don't see a nice solution here, sadly.
- AgentME 7y ago>Since Chrome v80 they forced <video> <img> content to switch to HTTPS, if the page itself is served https. Is it really a good idea? So for Intranet URLs with customize TLDs, you have exactly three choices If the intranet isn't set up to be able to serve over HTTPS, then wouldn't the intranet page be served over HTTP too and not make this an issue? Is it really common to have intranet sites where you have some of the endpoints covered by HTTPS and some not, and further, the HTTPS intranet page embedding content from intranet HTTP sites?
- est 7y ago> then wouldn't the intranet page be served over HTTP too and not make this an issue? The page itself is served in both HTTP and HTTPS, can be visited in and outside the LAN. The <img> and <video> content fail in HTTPS without explanation in Chrome v81+
- Dylan16807 7y ago> The page itself is served in both HTTP and HTTPS, can be visited in and outside the LAN. So why can't you use one of these options: 1. Redirect all users to HTTPS, since you apparently already have a globally valid certificate. 2. Rewrite the tags to use HTTPS only when the page is loaded over HTTPS. 3. Set upgrade-insecure-requests only when the page is loaded over HTTPS.
- est 7y agoBecause the <img> <video> content is served on a LAN machine with custom TLD. HTTPS don't work with that. However I can use reverse of your methods to redirect every HTTPS to HTTP.
- Dylan16807 7y agoWhen you say "the page itself" can be visited outside the LAN, does that include the images and videos? If it doesn't, what's the use case? Inside the LAN, when you visit the page over HTTPS the URL bar has a globally valid domain, right? So why do you even want the LAN machine to have a custom TLD, if that's going to be invisible to the user?
- deleted 7y ago[deleted]