π AWS ACM Certificate Expired π’
- Contextual name: π Certificate Expired π’
- ID:
/ce/ca/aws/acm/certificate-expired
- Located in: π AWS ACM
Flagsβ
- π’ Policy with categories
- π’ Policy with type
- π’ Production policy
Our Metadataβ
- Policy Type:
COMPLIANCE_POLICY
- Policy Category:
SECURITY
RELIABILITY
Similar Policiesβ
- Cloud Conformity
- Internal
dec-x-689858b5
Similar Internal Rulesβ
Rule | Policies | Flags |
---|---|---|
βοΈ dec-x-689858b5 | 1 |
Logicβ
- π§ prod.logic.yaml π’
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 allows easy provisioning, management, and deployment of SSL/TLS certificates for use with other Amazon services like 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 will mark a certificate as
INCOMPLIANT
if theStatus
field is set toEXPIRED
.... see more
Remediationβ
Remediationβ
From Command Lineβ
Perform one of the following commands to request a new managed certificate, import a new externally obtained certificate, or remove the expired ACM certificate via 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β
aws acm import-certificate \
... [see more](remediation.md)