40

I am able to complete the connect to custom domain step successfully and https://example.com is correctly loading my static file app which is hosted on Firebase.

However, browser is warning about the site's SSL certificate is not matching example.com. I looked at the certificate and it is of firebase.com, not example.com.

This certificate is provided by Firebase for example.com (my custom domain name) and I expect it to be matching it. Is this expected?

I know the other solution is to get my own certificate for example.com. However, it seems that Firebase won't let me deploy my own cert.

Update

I retried it some time back and it is fixed. And the whole suite of Firebase db/functions and corresponding sdk/cli are working really well. Great for small dev team.

Stephen Ostermiller
  • 23,933
  • 14
  • 88
  • 109
webp
  • 1,311
  • 2
  • 13
  • 16
  • hello @webp did you manage to find a solution for this? – drv Sep 15 '16 at 12:28
  • 2
    @drdrdrdr not yet unfortunately. However, I now host my app on google app engine and get my own ssl cert with https://letsencrypt.org/. For instructions on using letsentrypt with app engine, [this is helpful](http://blog.seafuj.com/lets-encrypt-on-google-app-engine) – webp Sep 16 '16 at 20:47
  • @webp were you ever able to get it working with firebase? – r3wt Apr 03 '17 at 00:09
  • @r3wt no, unfortunately. You have the same issue? – webp Apr 04 '17 at 01:25
  • 1
    @webp i did. i sent support a message and they fixed it without even responding to me. – r3wt Apr 04 '17 at 02:43
  • 1
    @r3wt Good to know it's something they can fix. Thanks for circling back. I may need this in the future. – webp Apr 05 '17 at 04:26

3 Answers3

56

Solution: Don't have to do anything about it other than just wait.

Faced the same problem when connecting to my custom domain on Firebase Hosting. However, it will only be insecure when the status is pending. The status can be found on your Firebase Hosting Dashboard.

My connection turned secured with a green lock after around 3 hours, and the status reflected in the dashboard changed to connected.

Stranger26
  • 658
  • 5
  • 11
  • Mine is also working now too, but I just received an email from the Google Search Console Team that points out the same issue. Maybe the email was delayed and now it's not a problem? – ianstarz Oct 25 '17 at 23:51
  • Took 30 minutes just now on one of my sites. – vincent31337 Jun 04 '20 at 12:55
0

This error message called domain name mismatch warning that occurs because of the domain is pointed to a shared IP addresses.

You need to confirm that your hosting provider supports SNI technology which allows install different certificates on the same IP. Please ensure that the certificate is installed correctly on your desired server and enable SNI. If your hosting provider doesn’t support SNI technology, you should have to dedicated IP to host your SSL.

Jason Parms
  • 346
  • 3
  • 6
  • 1
    Hi Jason, I've edited to clarify my question. This "connect to custom domain" is provided by Firebase and seems not working in a appropriate manner. – webp Aug 31 '16 at 21:35
0

In the add custom domain menu, check by changing the setup mode to advanced and complete the provide token on existing domain task by copying the TXT value to your dns records according to the instruction.

This solved my problem.

Abraham
  • 12,140
  • 4
  • 56
  • 92