简体   繁体   English

在 AWS ACM 中导入证书的正确方法是什么?

[英]What is the right way to import certificates in AWS ACM?

I'm an absolute beginner in AWS space.我是 AWS 领域的绝对初学者。 I'm trying to map serverless lambda functions to the custom domain .我正在尝试将 map无服务器 lambda 功能添加到自定义域 This is the ultimate goal!这是终极目标!

I got a free SSL certificate from sslforfree which I wish to register at AWS' ACM.我从sslforfree获得了一个免费的 SSL 证书,我希望在 AWS 的 ACM 注册。 Also, I do not wish to transfer domain to AWS Route 53 as GoDaddy's customer support is awesome!另外,我不希望将域转移到 AWS Route 53,因为 GoDaddy 的客户支持很棒!

I have (probably) imported the certificates in the ap-south-1 region我(可能) ap-south-1区域中导入了证书

证书导入

Not sure if the certificate was imported?不确定证书是否已导入? I did this multiple times - not sure how many times.我做了很多次 - 不知道多少次。

The limit seems breached - I think it's stupid for AWS systems to have the limit set to zero?似乎违反了限制 - 我认为 AWS 系统将限制设置为零很愚蠢?

Basis this logic - assuming that the certificate was imported.基于此逻辑 - 假设证书已导入。

Also, I cannot see a place in the ACM console to view the imported certificates.此外,我在 ACM 控制台中看不到查看导入证书的位置。

I found that all the assumptions were wrong.我发现所有的假设都是错误的。

没有找到证书

I tried requesting a new certificate through both DNS and Email validation approaches but I found this:我尝试通过 DNS 和 Email 验证方法请求新证书,但我发现了这一点:

请求证书错误

Using serverless with serverless-domain-manager plugin使用serverless 和serverless-domain-manager插件

sls create_domain

Which throws this:抛出这个:

Error --------------------------------------------------

Error: Error: Could not find the certificate ...
      at ServerlessCustomDomain.<anonymous> 

All confirming that the certificate was not imported.所有确认证书未导入。

What is the right way to import certificates in AWS ACM?在 AWS ACM 中导入证书的正确方法是什么?

The problem was that the initial limit set by AWS was zero.问题是 AWS 设置的初始限制为零。 This doesn't sound sensible!这听起来不太明智!

I contacted their support and increased the limit!我联系了他们的支持并增加了限制!

Now the import is done successfully!现在导入成功了!

导入成功

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

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