简体   繁体   English

使用 firebase 托管 ssl 与 aws 节点服务器

[英]Use firebase hosting ssl with aws node server

I am currently hosting my site with Firebase and have created a elastic beanstalk node.js express server to query API's.我目前使用 Firebase 托管我的网站,并创建了一个弹性 beanstalk node.js 快速服务器来查询 API。

(Not using Firebase functions for reasons) (不使用 Firebase 功能的原因)

I can't access my node server because it isn't https.我无法访问我的节点服务器,因为它不是 https。 Blocked loading mixed active content

From hosting my site with Firebase i get a free SSL.通过使用 Firebase 托管我的网站,我获得了免费的 SSL。 Can i simply add a CNAME of my elsticbeanstalk server URL to my DNS records to utalize firebase's SSL?我可以简单地将我的 elsticbeanstalk 服务器 URL 的 CNAME 添加到我的 DNS 记录中以利用 firebase 的 SSL 吗?

or Do i need to purchase an ssl for my whole domain?或者我是否需要为我的整个域购买 ssl?

Or are there better free options.或者有没有更好的免费选择。

The certificate provided by Firebase Hosting can only be used for content that is served from Firebase Hosting. Firebase Hosting 提供的证书只能用于从 Firebase Hosting 提供的内容。

But it looks like you can use free letsencrypt certificates with Elastic Beanstalk on AWS .但看起来您可以在 AWS 上通过 Elastic Beanstalk 使用免费的 Letsencrypt 证书

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM