首页 > 解决方案 > aws acm 导入证书抛出 LimitExceededException

问题描述

我曾经每周通过 bash 脚本自动将证书导入 AWS Certificate Manager。直到几周前,这一直运作良好。它开始失败,但出现以下异常:

An error occurred (LimitExceededException) when calling the ImportCertificate operation: You have imported the maximum number of 20 certificates in the last year.

通过谷歌搜索这个问题,我找不到太多帮助。我是否必须增加任何 AWS 限制?哪一个?

以下是一些可以提供帮助的更多信息:

我如何导入证书:

aws acm import-certificate --region eu-central-1 --certificate file:///etc/letsencrypt/live/my.domain/cert.pem --private-key file:///etc/letsencrypt/live/my.domain/privkey.pem --certificate-chain file:///etc/letsencrypt/live/my.comain/chain.pem --certificate-arn arn:aws:acm:eu-central-1:<some-number>:certificate/<some-uuid>

的输出aws acm list-certificates

{
    "CertificateSummaryList": [
        {
            "CertificateArn": "arn:aws:acm:eu-central-1:<some-number>:certificate/<some-uuid>",
            "DomainName": "my.domain"
        }
    ]
}

这是我三个月前导入的证书。现在很遗憾已经过期了。

标签: aws-certificate-manager

解决方案


AWS 解决了我的问题。我终于发布了一个支持请求,以增加“ACM 证书数量”的限制。现在我可以成功导入新证书了。希望这对其他人有所帮助。


推荐阅读