HSTS Cert Issue

Hello,

I am using the free netlify subdomain for my site and am having issues while opening it in some browsers.

Here is the error I am getting in Firefox Developer Edition: "Websites prove their identity via certificates. Firefox Developer Edition does not trust this site because it uses a certificate that is not valid for www.indietube.netlify.app. The certificate is only valid for the following names: *.netlify.com, netlify.com

Error code: SSL_ERROR_BAD_CERT_DOMAIN"

and here’s what I am getting in Brave: "Attackers might be trying to steal your information from www.indietube.netlify.app (for example, passwords, messages, or credit cards).

NET::ERR_CERT_COMMON_NAME_INVALID
Subject: *.netlify.com

Issuer: DigiCert SHA2 Secure Server CA

Expires on: Aug 3, 2021

Current date: Aug 16, 2020"

I had no issues with certs opening the site until very recently so I’m not sure what happened here. Does anyone know of anything I can do to resolve this?

Thanks!

  • Gabriel

For those having the same issue as me, I was including www when linking to my site which was causing issues for some reason. So I changed the link URL from https://www.indietube.netlify.app to just https://indietube.netlify.app and all links work fine now, no cert errors. Hope this helps someone!

Hi, @gchartier, thank you for posting the solution you found. Yes, the www subdomain under the site subdomain won’t work.

If there are other questions, please reply here anytime.