我曾经每周通过 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"
}
]
}
这是我三个月前导入的证书。现在很遗憾已经过期了。