Remediation
From Consoleβ
Removing expired certificates via AWS Management Console is not currently supported. To delete SSL/TLS certificates stored in IAM via the AWS API use the Command Line Interface (CLI).
From Command Lineβ
To delete Expired Certificate run following command by replacing <CERTIFICATE_NAME>
with the name of the certificate to delete:
aws iam delete-server-certificate --server-certificate-name <CERTIFICATE_NAME>
When the preceding command is successful, it does not return any output.