简体   繁体   English

使用 Cloudflare 的 AWS ACM 证书链

[英]Certificate chain for AWS ACM using Cloudflare

I'm trying to Import a certificate from Cloudflare using the AWS Web UI and I'm stuck in this page:我正在尝试使用AWS Web UI从 Cloudflare导入证书,但我被困在此页面中:

在此处输入图像描述

I read that the equivalent in Cloudflare to Certificate Chain is Origin Certificates (not 100% sure on this), so I created one and chose the RSA certificate and when I try to finish the import in AWS it says:我读到 Cloudflare 中与Certificate Chain等效的是 Origin Certificates(对此不是 100% 确定),所以我创建了一个并选择了RSA certificate ,当我尝试在 AWS 中完成导入时,它说:

Could not validate the certificate with the certificate chain. Choose Previous button below and fix it.

Anyone knows what's the problem?有谁知道有什么问题?

Thanks谢谢

EDIT:编辑:

I tried the root CA and it also doesn't work:我尝试了根 CA,它也不起作用:

在此处输入图像描述

This is the "solution" from AWS:这是 AWS 的“解决方案”:

"Could not validate the certificate with the certificate chain." “无法使用证书链验证证书。”

If ACM can't match the certificate to the certificate chain provided, verify that the certificate chain is associated to your certificate.如果 ACM 无法将证书与提供的证书链匹配,请验证证书链是否与您的证书相关联。 You might need to contact your certificate provider for further assistance.您可能需要联系您的证书提供商以获得进一步的帮助。

Ok I found the issue, I had created a Client CE and that's what I was using, I read on the description that it was the one used to authenticate APIs in clients so it made sense.好的,我发现了问题,我创建了一个客户端 CE,这就是我正在使用的,我在描述中读到它是用于在客户端中验证 API 的,所以它是有道理的。 Anyway, resolution:无论如何,分辨率:

All 3 CE has to be ORIGIN and the root is from this page .所有 3 CE 必须是 ORIGIN 并且根来自此页面 So if anyone has this issue, make sure you use the CE from the Origin page + the root因此,如果有人遇到此问题,请确保您使用原始页面中的 CE + 根

在此处输入图像描述

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

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