Open Bug 1716180 Opened 5 years ago Updated 5 years ago

certificate error page should be milder for http entered as https

Categories

(Firefox :: Security, enhancement)

Firefox 89
x86_64
Linux
enhancement

Tracking

()

Tracking Status
firefox89 --- affected
firefox90 --- affected
firefox91 --- affected

People

(Reporter: Nick_Levinson, Unassigned)

Details

STR: Go to a static website that does not have its own certificate, that is hosted by a hosting service that has a certificate for its hosting domain that hosts this website under the customer-owned domain (viz., my domain), and that should be visited with the HTTP protocol in the URL, but type the URL as if it uses HTTPS. I have a few such websites, such as BrittleBit.org (the "www." is optional for my site).

Actual result:

"Warning: Potential Security Risk Ahead"/"Firefox detected a potential security threat and did not continue to brittlebit.org. If you visit this site, attackers could try to steal information like your passwords, emails, or credit card details."/"What can you do about it?"/"The issue is most likely with the website, and there is nothing you can do to resolve it. You can notify the website’s administrator about the problem."/"Learn more…" (suspension points or ellipsis so in original). The Advanced button reveals the error code as "SSL_ERROR_BAD_CERT_DOMAIN".

By the way, opting by button to continue anyway gets this from my hosting service: "brittlebit.org: TLS Not Enabled"/"You have attempted to access this site via TLS (HTTPS), but it is not configured for TLS access."/"Please follow this link to visit the site without TLS."/"400 Bad Request". The link gives the URL for HTTP for the domain.

By comparison, visiting the website by typing into the browser only the domain, so that the browser prepends "http://", or prepending it myself, loads the website just fine.

Expected result: Either proceed directly to the website or put up a mild warning, such as "This website can be visited insecurely by entering the address as http://www.example.com or http://example.com (the use of 'www' is up to the website owner)." A button can encourage visiting once the warning has been seen, rather than discourage it altogether.

Additional info:

I could get a certificate and I understand one may be free, but it requires hardcoding HTTPS as canonical on every page, my several websites have hundreds of pages, and I work on a budget, so I'm staying with HTTP.

FF version 89.0 (64-bit) on Fedora 34 Linux, kept evergreen.

Somewhat relevant: bug 1535278.

i'm not sure about the expected behaviour in this case, but I will set a component for this bug so we could find out.

Status: UNCONFIRMED → NEW
Component: Security → DOM: Security
Ever confirmed: true
Product: Firefox → Core
Component: DOM: Security → Security
Product: Core → Firefox
Type: defect → enhancement
You need to log in before you can comment on or make changes to this bug.