π‘οΈ AWS ACM Certificate expires in the next 7 daysπ’
- Contextual name: π‘οΈ Certificate expires in the next 7 daysπ’
- ID:
/ce/ca/aws/acm/certificate-expires-in-7-days - Tags:
- π’ Policy with categories
- π’ Policy with type
- π’ Production policy
- Policy Type:
COMPLIANCE_POLICY - Policy Categories:
SECURITY,RELIABILITY
Logicβ
- π§ prod.logic.yamlπ’
Similar Policiesβ
- AWS Security Hub: [ACM.1] Imported and ACM-issued certificates should be renewed after a specified time period
- Cloud Conformity: AWS ACM Certificates Renewal (7 days before expiration)
- Internal:
dec-x-b24d2338
Similar Internal Rulesβ
| Rule | Policies | Flags |
|---|---|---|
| βοΈ dec-x-b24d2338 | 1 |
Descriptionβ
Descriptionβ
Renew your SSL/TLS certificates in AWS ACM that are ineligible for automatic renewal at least 7 days before their expiration date. This proactive approach is essential for maintaining the security and reliability of applications and services that rely on these certificates.
Rationaleβ
Timely renewal of SSL/TLS certificates prevents service disruptions that can occur due to expired certificates, ensuring continuous protection for your data and communications. By regularly updating your certificates, you ensure that your applications use the latest and most secure encryption standards. Additionally, maintaining a robust certificate management policy can aid in compliance with industry regulations that require the use of strong, up-to-date encryption methods.
Auditβ
This policy flags an AWS ACM Certificate as
INCOMPLIANTwhen theStatusfield is set to ISSUED, theRenewal Eligibilityfield is INELIGIBLE, and the certificate is set to expire within the next 7 days, as indicated by theNot Afterfield.... see more
Remediationβ
Remediationβ
From Command Lineβ
Perform one of the following commands to renew the expiring certificate:
- Request a new managed private certificate.
- Reimport a new externally obtained certificate.
- Issue a client certificate using a private CA.
Request a new private certificateβ
aws acm request-certificate \
--domain-name {{www.example.com}} \
--idempotency-token {{12563}} \
--certificate-authority-arn {{certificateAuthorityArn}}Note: If you do not provide a
{{certificateAuthorityArn}}and you are trying to request a private certificate, ACM will attempt to issue a public certificate.Reimport a new certificateβ
aws acm import-certificate \
--certificate-arn {{certificateArn}} \
--certificate file://{{importedCertificate}} \
--private-key file://{{privateKey}} \
--certificate-chain file://{{certificateChain}}Replace
{{certificateArn}},{{importedCertificate}},{{privateKey}}, and{{certificateChain}}with the respective ARN value and file paths of your imported certificate, private key, and certificate chain files.... see more