- Newest
- Most votes
- Most comments
I understand you're having difficulty deleting an expired certificate due to associated resources. Unfortunately, I cannot directly delete the certificate for you, but I can provide guidance on how to address this issue.
The error messages you're receiving indicate that the certificate is still associated with an AWS resource, specifically an Application Load Balancer. Even though you can't find this association in the load balancer settings, it appears that there's a lingering connection preventing the deletion.
Here are some steps you can try:
-
Double-check all possible places where the certificate might be used, including API Gateway custom domain names, Load Balancer listeners, CloudFront distributions, and Cognito User Pools.
-
If you've already checked these and found no associations, the issue might be with AWS-managed resources created behind the scenes.
-
Try using the AWS CLI command again, as sometimes it can work when the console fails.
If these steps don't resolve the issue, you'll need to contact AWS Support. They have the ability to see and remove associations that aren't visible to customers. To do this:
- Open a support case under "Account and billing" in your AWS account.
- Explain that you have an expired certificate that you can't delete due to invisible resource associations.
- Provide the ARN of the certificate you're trying to delete.
- Request that they remove the associations so you can delete the certificate.
While waiting for support to resolve the issue, keep in mind that ACM certificates are free, so there's no financial impact to having the expired certificate remain in your account temporarily.
For future reference, it's best to remove all associations with a certificate before it expires or before you try to delete it to avoid this situation.
Sources
Cannot delete ACM certificate due to associated resources | AWS re:Post
Delete certificates managed by AWS Certificate Manager - AWS Certificate Manager
DeleteCertificate - AWS Certificate Manager
Cannot delete certificate | AWS re:Post
Relevant content
- asked a month ago
Very appreciate for these details steps! I searched all resource but hard to find clue. I will follow to raise support case.