使用自定义域的 Firebase 托管具有指向 firebase.com 的 SSL 证书 [英] Firebase hosting using custom domain has SSL cert pointing to firebase.com

查看:19
本文介绍了使用自定义域的 Firebase 托管具有指向 firebase.com 的 SSL 证书的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我能够成功完成连接到自定义域步骤并且https://example.com 正在正确加载我托管在 Firebase 上的静态文件应用程序.

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.

但是,浏览器警告该站点的 SSL 证书与 example.com 不匹配.我查看了证书,它是 firebase.com,而不是 mydomain.com.

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 mydomain.com.

此证书由 Firebase 为 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?

我知道另一种解决方案是为 example.com 获取我自己的证书.但是,Firebase 似乎不允许我部署自己的证书.

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.

我一段时间前重试了它,它已修复.整套 firebase db/functions 和相应的 sdk/cli 运行良好.非常适合小型开发团队.

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.

推荐答案

解决方案:除了等待之外,无需做任何事情.

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

在 Firebase 托管上连接到我的自定义域时遇到了同样的问题.但是,只有当状态为 pending 时才会不安全.状态可以在您的 Firebase 托管仪表板上找到.

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.

大约 3 小时后,我的连接被绿色锁锁定,仪表板中反映的状态更改为 connected.

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

这篇关于使用自定义域的 Firebase 托管具有指向 firebase.com 的 SSL 证书的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆