- Newest
- Most votes
- Most comments
Hello.
Did you use API Gateway or something similar in your AWS account?
In that case, the following questions are probably similar to yours.
API Gateway may create ALB or CloudFront behind the scenes depending on the configuration.
The effect of this may be that ACM certificates cannot be deleted.
So, if you have been using API Gateway, try deleting the custom domain settings for API Gateway and then deleting the ACM certificate.
https://repost.aws/ja/questions/QU5RI-7lr2R5m_oxe8N6BTRQ/i-can-t-delete-my-certificate-because-it-s-associated-with-an-invisible-cloudfront-distribution
https://repost.aws/knowledge-center/acm-certificate-resources
Deploying an edge-optimized API endpoint creates an Amazon CloudFront distribution by Amazon API Gateway. Deploying a Regional API endpoint creates an Application Load Balancer by API Gateway. The CloudFront distribution or Application Load Balancer is owned by API Gateway, not your account. The ACM certificate provided to deploy API Gateway is associated with the CloudFront distribution or Application Load Balancer.
Try using the following command to remove the certificate.
aws acm delete-certificate --certificate-arn ACM-ARN
What kind of resource did you use the Certificate for, or when was it created?
You can also have a look on this accepted answer on how to contact the AWS Support in a case similar to yours. You can also let us know if the case was resolved and what was the root cause!
Relevant content
- Accepted Answerasked 2 years ago
- AWS OFFICIALUpdated 9 months ago
- How do I get notified when the certificate associated to the Client VPN endpoint is about to expire?AWS OFFICIALUpdated 5 months ago
- AWS OFFICIALUpdated a year ago
- I tried to delete my ACM certificate but received an error that it's in use with other AWS resourcesAWS OFFICIALUpdated a year ago
Thanks for your reply,
Am not using any API gateway.