<  Back to rules search

ACM certificate is valid for 7 or more days

Classification:

compliance

このページは日本語には対応しておりません。随時翻訳に取り組んでいます。翻訳に関してご質問やご意見ございましたら、お気軽にご連絡ください。

Description

Renew your SSL/TLS certificate managed by AWS Certificate Manager (ACM) as there are seven day left to renew.

Rationale

Certificates that are not renewed prior to their expiration date become invalid. Invalid certificates make communication between the client and AWS resources insecure.

Remediation

Console

ACM automatically renews certificates (if you are using DNS validation) or sends an email notification when expiration is approaching. Follow the Managed renewal for ACM certificates docs for more information.

CLI

  1. Run import-certificate using the ARN of the SSL/TLS certificate that you want to renew. This will return the ARN of the renewed SSL/TLS certificate.

import-certificate.sh

    aws acm import-certificate
      --certificate-arn <value>
      --certificate <value>
      --private-key <value>
      --certificate-chain <value>