Cannot delete certificate

0

I'm trying to delete a certificate in ACM but getting the following error

"Certificate is in use The certificate (ac1ae765-2ec4-41de-93f3-7a250429a3dc) is in use (associated with other AWS resources) and cannot be deleted. Dissociate the certificate from each resource in the list and try again."

The certificate is showing as being associated with some load balancers in an AWS managed account (631144002099). I've removed the certificate from all API Gateway custom domains, load balancer listeners. There's also no cognito user pools in play and no cloudfront as the certificate is in eu-west-1.

Anyone from AWS able to help us out?

asked 3 months ago157 views
1 Answer
0

Hello.

Can't you delete it even if you run AWS CLI?

aws acm delete-certificate --certificate-arn arn:aws:acm:eu-west-1:xxxxxxxxxxxx:certificate/12345678-1234-1234-1234-12345678abcd

In that case, there may be a problem with your AWS account, so please open a case with AWS Support under "Account and billing" and request deletion.
https://docs.aws.amazon.com/awssupport/latest/user/case-management.html

It seems that the person who asked the following URL asked AWS support to resolve the issue.
https://repost.aws/ja/questions/QUD6O2O6z2QjelpBx6bcnBaA/cannot-delete-acm-certificate-due-to-uncontrollable-resource-associations

profile picture
EXPERT
answered 3 months ago
profile picture
EXPERT
reviewed 3 months ago
  • No joy:

    An error occurred (ResourceInUseException) when calling the DeleteCertificate operation: Certificate arn:aws:acm:eu-west-1:XXXXXXXXXXXX:certificate/ac1ae765-2ec4-41de-93f3-7a250429a3dc in account XXXXXXXXXXXX is in use.

    The account doesn't have a paid support plan on it so AWS Support won't help which is super frustrating as it's in use in an AWS managed account which I can't access (the certificate was used with an API Gateway custom domain but this has been deleted). :-(

  • Contacting AWS Support under "Account and billing" is free. "Account and billing" inquiries can also be used with the basic plan (free support).

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions