Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cloudflare HTTPS-RR behavior breaking psim.us connections #2160

Open
leo60228 opened this issue Oct 8, 2023 · 0 comments
Open

Cloudflare HTTPS-RR behavior breaking psim.us connections #2160

leo60228 opened this issue Oct 8, 2023 · 0 comments

Comments

@leo60228
Copy link

leo60228 commented Oct 8, 2023

HTTPS-RR is a relatively recent mechanism to allow sites to advertise HTTPS support over DNS. Browsers are expected to always redirect to HTTPS for domains with HTTPS records, but this is currently unreliable (per https://bugs.chromium.org/p/chromium/issues/detail?id=1441214). Cloudflare will always serve an HTTPS record for proxied subdomains when HTTPS is enabled for the domain, even if the subdomains have HTTPS disabled or broken (as is the case for example.com.psim.us-style domains).

Per https://community.cloudflare.com/t/http-only-site-broken-in-chrome-only-chromium-said-the-problem-is-https-rr-bug-report/506153/10, Cloudflare recommends disabling TLS entirely for domains where some subdomains may need to be connected to via HTTP. This seemingly makes TLS support for psim.us all-or-nothing. Additionally, it's impossible to support TLS for example.com.psim.us-style domains, due to limitations of wildcard certificates.

I'm not sure what the correct solution here is, but this will cause more and more problems over time if unaddressed. It already causes inconvenience for development, and makes connecting to an unregistered third-party generally require changing browser settings.

Perhaps a solution for unregistered servers might be to use a live domain supporting ?~~host:port?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant