# Facebook 登录因更改为 Let's Encrypt 证书系统而被 Facebook 标记为不合规

**URL:** https://meta.discourse.org/t/facebook-login-was-flagged-as-non-compliant-by-facebook-after-change-to-lets-encrypt-certificate-system/207253
**Category:** Support
**Created:** [2021 年10 月 27 日 13:23 UTC](https://meta.discourse.org/t/facebook-login-was-flagged-as-non-compliant-by-facebook-after-change-to-lets-encrypt-certificate-system/207253 "2021-10-27T13:23:09Z")
**Posts on this page:** 1
**Showing post:** 11

<div class="post-metadata">

### 作者： ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### 发布日期： [2021 年10 月 27 日 14:16 UTC](https://meta.discourse.org/t/facebook-login-was-flagged-as-non-compliant-by-facebook-after-change-to-lets-encrypt-certificate-system/207253/11 "2021-10-27T14:16:27Z")

</div>

> [@Paul\_King](#):
>
> 有什么方法可以让默认的免费 Let’s Encrypt 证书同时认证这两个选项吗？我希望能避免使用额外的证书来增加管理复杂度和成本。

您可以在 app.yml 中添加一两行代码。当我遇到问题时，这个方法对我很有效：

> [@Set up Let’s Encrypt with multiple domains / redirects](https://meta.discourse.org/t/setting-up-let-s-encrypt-with-multiple-domains/56685):
>
> NOTE: @pfaffman says: This page needs to be cleaned up. There is now a new ENV setting that will let you add more hostnames. In your app.yml under your DISCOURSE\_HOSTNAME line (it can go many places but that one makes sense), add DISCOURSE\_HOSTNAME\_ALIASES: domain.com,other.domain.com and early reports suggest that you’ll get valid certs for those domains and that accessing https://domain.com will properly redirect you to your DISCOURSE\_HOSTNAME without a certificate error. If you do that an…

---

_[View the full topic](https://meta.discourse.org/t/facebook-login-was-flagged-as-non-compliant-by-facebook-after-change-to-lets-encrypt-certificate-system/207253)._
