Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Firebase Hosting - getting Insecure Connection warning with custom domain redirection

I have a custom domain name redirected to a Firebase Hosting site, which worked fine for a month or two but now am getting an Insecure Connection warning when I visit the domain -

(domain name) uses an invalid security certificate.

The certificate is only valid for the following names: firebaseapp.com, *.firebaseapp.com

Error code: SSL_ERROR_BAD_CERT_DOMAIN

The https://(project name).firebaseapp.com link works okay.

The Firebase Console is showing Needs Setup for the domain status, though it seems to be set up properly with the two A records, the TXT record, and a URL Redirect record, and the domain is listed as Verified.

The only thing that might have changed was in starting to set up Google G Suite, which required adding another TXT record for domain verification - I think after that the site started showing the security warning. I tried removing the TXT records and readding them but it didn't help.

like image 731
Brian Burns Avatar asked Oct 15 '25 06:10

Brian Burns


1 Answers

For anyone coming across this here in the future (as of 2022), it can take up to 24 hours for setup to complete.

"Domain changes are propagating. This may take up to 24 hours. Please check back later."

You should see a "Pending" status next to the domain name when you view the hosting module in the Firebase console.

like image 115
user19649725 Avatar answered Oct 17 '25 23:10

user19649725