π‘οΈ AWS ACM Certificate Expiredπ’
- Contextual name: π‘οΈ Certificate Expiredπ’
- ID:
/ce/ca/aws/acm/certificate-expired - Tags:
- π’ Policy with categories
- π’ Policy with type
- π’ Production policy
- Policy Type:
COMPLIANCE_POLICY - Policy Categories:
SECURITY,RELIABILITY
Logicβ
- π§ prod.logic.yamlπ’
Similar Policiesβ
- Cloud Conformity: ACM Certificate Expired
- Internal:
dec-x-689858b5
Similar Internal Rulesβ
| Rule | Policies | Flags |
|---|---|---|
| βοΈ dec-x-689858b5 | 1 |
Descriptionβ
Descriptionβ
Ensure that all expired Secure Sockets Layer/Transport Layer Security (SSL/TLS) certificates in AWS Certificate Manager (ACM) are removed. AWS Certificate Manager is a service that enables easy provisioning, management, and deployment of SSL/TLS certificates for use with other Amazon services such as Elastic Load Balancing (ELB) and CloudFront.
Rationaleβ
Removing expired certificates enhances security and helps maintain compliance with Amazon's Security Best Practices. Expired certificates may expose sensitive data to interception by malicious actors, posing security and credibility risks. By removing these certificates, organizations mitigate the risk of accidentally deploying invalid SSL/TLS certificates to resources such as Elastic Load Balancing (ELB), which could lead to front-end errors for web applications or websites reliant on ELB and might be perceived as a lack of maintenance or security awareness.
Auditβ
This policy flags an AWS ACM Certificate as
INCOMPLIANTif theStatusfield is set to EXPIRED.... see more
Remediationβ
Remediationβ
From Command Lineβ
Run one of the following commands to request a new managed certificate, import a new externally obtained certificate, or remove the expired ACM certificate using the AWS CLI:
Request a new public certificateβ
aws acm request-certificate \
--domain-name {{www.example.com}} \
--key-algorithm {{RSA_2048}} \
--validation-method {{DNS}} \
--idempotency-token {{1234}} \
--options CertificateTransparencyLoggingPreference=DISABLEDNote: If you are requesting a public certificate, each domain name that you specify must be validated to verify that you own or control the domain.
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.Import a new certificateβ
... see more