Troubleshoot certificate inventory and certificate actions - AWS Certificate Manager
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

Troubleshoot certificate inventory and certificate actions

This section describes common issues with certificate inventory for organizations and certificate actions for organizations, and how to resolve them.

Setup reports a FAILED status

When GetInventoryConfiguration returns a ProvisioningStatus of FAILED, read ProvisioningStatusReason. Its Code says what stopped setup, and its Message says what to do:

  • TRUSTED_ACCESS_DISABLED: Turn on trusted access for certificate inventory in AWS Organizations, and then call PutInventoryConfiguration again. For more information, see Prerequisites.

  • INTERNAL_FAILURE: Read the message first, because it can name a cause that you can fix:

    • Trusted access wasn't turned on before your first call. Turn it on.

    • An opt-in Region in your regional scope isn't enabled in the management account or the delegated administrator account. Enable each Region that the message names, or remove it from your regional scope.

    For regional scope, see Choose which Regions to collect from. Then call PutInventoryConfiguration again with Status set to ENABLED. If setup keeps failing, contact AWS Support.

For more information, see Check configuration and provisioning status.

Requests fail with AccessDeniedException

The message of the AccessDeniedException names the condition that isn't met. Common causes include the following:

  • The caller isn't the management account or the delegated administrator for certificate inventory, or a delegated administrator tried to start, change, or cancel the plan, which only the management account can do. For more information, see Who can use certificate inventory.

  • The caller's IAM policy doesn't allow the operation. For more information, see ACM API permissions: Actions and resources reference.

  • The caller's IAM policy doesn't allow user-subscriptions:CreateClaim, user-subscriptions:UpdateClaim, or user-subscriptions:DeleteClaim, which you need to start, change, or cancel the plan. For more information, see Required IAM permissions.

  • For a member operation, trusted access or certificate actions are turned off, the target account isn't the management account or an active member account or isn't in AccountScope, the target's Region isn't in RegionalScope, the target is in the calling account, or the service-linked role for certificate actions isn't ready in the target account. For more information, see Understand operation results.

Certificate inventory still shows ENABLED after you turn it off

Turning off certificate inventory cancels your plan, and the inventory keeps collecting until the plan ends at the end of the billing period. Until then, Status stays ENABLED, and InventoryTierConfiguration.ScheduledChange shows the end date. Certificate actions turn off at once. After the plan ends, ProvisioningStatus goes through DISABLING to DISABLED. A request for the plan that's ending fails with ConflictException. For more information, see Turn off certificate inventory.

Requests fail because they're sent to another Region

Send certificate inventory and certificate actions requests to your organization's home Region. PutInventoryConfiguration sent to another Region fails with ConflictException, and member operations fail with ResourceNotFoundException. In both cases, the message names the home Region. For more information, see Home Region.

Search returns no certificates

Right after you turn on certificate inventory, ProvisioningStatus is ENABLING while setup runs in your accounts, and search results can be empty. Call GetInventoryConfiguration until ProvisioningStatus is ENABLED, and then search again. If setup reports FAILED, see Setup reports a FAILED status.

A certificate is missing from the inventory

If you can't find a certificate that you expect, check the following:

  • Your ACM plan: The plan sets which certificates the inventory collects. For example, AWS Private CA certificate authorities and the certificates that they issue directly are collected only with the Pro plan. For more information, see ACM plans.

  • Your scope: The certificate's account and Region must be in your account scope and regional scope. For more information, see Choose which accounts to collect from and Choose which Regions to collect from.

  • Short-lived certificates: The inventory doesn't collect certificates that are valid for less than 24 hours, from any source. For more information, see Data retention.

  • Data retention: The inventory deletes the record of an expired certificate that isn't in use after its retention period. For more information, see Data retention.

  • Certificates on your own hosts: The inventory sees certificates outside ACM and AWS Private CA only when the AWS Workload Credentials Provider sends telemetry about them. For more information, see Certificate and TLS endpoint telemetry.

  • Certificates that aren't issued yet: The inventory collects an ACM certificate after ACM issues it. It doesn't collect certificates whose status is PENDING_VALIDATION, FAILED, or VALIDATION_TIMED_OUT. It doesn't collect AWS Private CA certificate authorities whose status is CREATING, PENDING_CERTIFICATE, or FAILED.

Inventory data can lag behind the resource. A certificate that you just requested, imported, or issued can take some time to appear.

A retried member operation returns a different error

Member operations aren't idempotent. If your client loses the response after the action succeeds, a retry can return ResourceNotFoundException or ConflictException, for example after a deletion. Before you retry, check the resource's current state with the ACM or AWS Private CA read operation for its ARN. For more information, see Understand operation results.