ACM certificate renewal: managed vs imported certificates
The AWS Certificate Manager User Guide says ACM provides managed renewal for certificates that Amazon issued, as long as the certificate is associated with another AWS service or has been exported. With DNS validation the renewal is automatic while the CNAME record stays in place. Imported certificates are never renewed by ACM; you reimport a new one.
Which certificates does ACM renew?
A certificate is eligible for automatic renewal if it is associated with another AWS service, such as Elastic Load Balancing or CloudFront, or if it has been exported since it was issued or last renewed.
It is not eligible if it was imported, if it has already expired, or if it is a private certificate issued by calling the AWS Private CA IssueCertificate API.
For eligible certificates, ACM renews automatically when DNS validation is used. Otherwise it sends email notices as expiration approaches. A renewed certificate keeps the same ARN.
ACM certificates are regional resources. Certificates for the same domain name in several Regions are renewed independently.
How does DNS validation work?
ACM gives you one or more CNAME records to add to your DNS database. They prove that you control the domain. The records need to be added only once, and ACM keeps renewing the certificate as long as it is in use and the CNAME record remains.
While the record is in place, you can request more ACM certificates for the same fully qualified domain name without validating again. The CNAME validation token works in any AWS Region, so you can create the same certificate in several Regions.
A wildcard name such as *.example.com gets the same record as its base domain example.com. Automatic renewal stops if you remove the certificate from the service it is associated with or delete the CNAME record. If you cannot edit the domain's DNS database, you must use email validation.
How do you renew an imported certificate?
ACM does not provide managed renewal for imported certificates. You are responsible for watching the expiration date and can use EventBridge to send notices as it approaches.
To renew, obtain a new certificate from your issuer and reimport it into ACM under the existing certificate ARN. Reimporting before expiry preserves the certificate's associations with AWS services and its ARN. The key type and size cannot change, and you can add or remove domain names but not remove all of them.
Imported certificates are regional too. To use one with load balancers in different Regions, import it into each Region. To use it with CloudFront, import it into US East (N. Virginia).
Where the exam catches people
Expecting ACM to renew an imported certificate: managed renewal does not cover imported certificates.
Expecting ACM to renew a certificate that is not in use: it must be associated with an AWS service or have been exported.
Importing a renewed certificate as a new one: that gives a new ARN. Reimporting into the existing ARN keeps the service associations.
Deleting the validation CNAME record after the certificate is issued: automatic renewal needs the record to stay.
Believing one renewal covers every Region: certificates are regional and each is renewed independently.