Troubleshoot governed TLS issuance

Diagnose cross-product identifier mismatches, binding and scoping failures, seat shortages, and metadata gaps in the governed TLS issuance workflow.

Use this page, as the central PKI team or the delegated team, when a phase checkpoint fails or a guardrail test behaves unexpectedly. Each entry names the phase and links the step where the failure appears. For general API errors, such as authentication failures and rate limits, see the DigiCert API error reference.

Quick triage

SymptomLikely causeGo to
A save step stops with “expected one match, found N”The value you set doesn’t match exactly one itemA save step stops with expected one match, found N
A create request timed outThe resource might exist alreadyA create request times out or loses its response
A setup request returns no_access or authentication_errorThe setup credential lacks a roleSetup requests return no_access or authentication_error
Profile creation fails on icaWrong identifier for the issuing CAProfile creation rejects the issuing CA
The delegated team’s token can’t issue from the profileWrong binding ID, missing permission, wrong number of SAN DNS names, or no seatsThe delegated team can’t issue from the profile
The delegated team’s token issues through another profileThat profile doesn’t bind API tokensAnother profile accepts the delegated team’s token
The inventory record shows an unexpected issuerThe profile is bound to a different issuing CAThe inventory record shows an unexpected issuer
Owner or attribute searches return nothingMetadata not applied, or the filter syntax is wrongOwner or attribute searches miss the certificate
An out-of-namespace name is acceptedThe FQDN allow-list pattern is too broadAn out-of-namespace name is accepted
A name inside the namespace is rejectedThe FQDN allow-list pattern doesn’t match the whole nameA name inside the namespace is rejected
Seat allocation returns license_seats_exceededThe account has too few unallocated seats of that typeSeat allocation returns license_seats_exceeded
The issuance response contains request_idThe profile requires approval or pickupThe issuance response contains a request_id instead of a certificate
The audit log returns no issuance eventThe event isn’t recorded yet, or the time window misses itThe audit log returns no issuance event
The hierarchy request returns ca_is_not_rootThe request used the issuing CA IDThe hierarchy request returns ca_is_not_root
Service user creation is rejectedRole display name sent instead of role nameService user creation rejects the role

Workflow failures

A save step stops with expected one match, found N

This appears in any step that selects one item from a saved list: the account, the issuing CA, the issuance role, and the issuance audit event.

The save selects items by an exact value, and it stops unless exactly one item matches:

  • Found 0. Compare the value you set, such as account_name, issuing_ca_name, or issuance_role_name, with the saved list response. Names must match exactly, including case, and the issuance role must also be ACTIVE. For the audit event, see The audit log returns no issuance event.
  • Found more than one. For the account or the issuing CA, resolve the duplicate names with the account owner or the PKI owner. For the audit event, narrow the time window and send the request again.

A create request times out or loses its response

This appears in any create request: the business unit, the custom attributes, the owners, the delegated service user, the profile, or the certificate. A timeout or a lost response doesn’t prove that the resource wasn’t created. Don’t send the request again until you search for the resource by its name, email, or common name, as listed in Recover from uncertain results.

Cross-product failures

Setup requests return no_access or authentication_error

This appears in Define the governance boundary, when you create the delegated business unit or check for an existing metadata standard. It also appears in Create the delegated issuance identity, when you create the delegated service user.

An administrator who can read business units, profiles, CAs, and users isn’t necessarily allowed to create them or to read custom attributes and certificate owners. Give the setup credential every role in Before you begin, then repeat the request.

DigiCert® Trust Lifecycle Manager returns 403 Forbidden for a business unit create, a custom attribute list, or a certificate owner list without the role:

{
  "errors": [
    {
      "code": "no_access",
      "message": "Not enough permissions"
    }
  ]
}

DigiCert® Account Manager returns 401 Unauthorized for a service user create without the User manager role, although the credential is valid:

{
  "errors": [
    {
      "code": "authentication_error",
      "message": "User does not have permission for this action. Contact your admin for help."
    }
  ]
}

Profile creation rejects the issuing CA

This appears in Publish the governed issuance profile, when you create the token-bound profile.

ica.id takes ica_id, the DigiCert® Private CA id you saved in Select the internal TLS issuing CA. It’s a 32-character hexadecimal string. Two other values look similar and fail:

  • The issuing CA’s serial_number.
  • A UUID such as business_unit_id.

With the issuing CA’s serial_number or a UUID in ica.id, the request returns 404 Not Found:

{
  "errors": [
    {
      "code": "entity_not_found",
      "message": "Failed to find the specified CA, see logs for details"
    }
  ]
}

The root CA’s ID has the same format and doesn’t fail. When the root is assigned to the account and can sign end-entity certificates, the request returns 201 Created with a profile bound to the root. Check that ica.id in the create response matches ica_id. If it doesn’t, the profile isn’t bound to the CA you approved. See The inventory record shows an unexpected issuer.

Also confirm that the issuing CA is assigned to account_id. See Assign the issuing CA to the account.

The delegated team can’t issue from the profile

This appears in Issue and evidence a governed certificate, when you issue the certificate as the delegated identity.

Check these in order:

  1. Token binding. The profile’s api_token_ids contains api_token_id, the api_token.id you saved when you created the delegated service user. A profile bound in the Trust Lifecycle Manager UI lists the service user’s ID there instead. Check it with GET /mpki/api/v2/profile/{profile_id}.
  2. Current token. The token in the request is the delegated team’s current, enabled token. After a rotation, the profile must bind the new token’s ID.
  3. Issuance permissions. The service user’s role grants issuance. With GET /account/api/v1/user/{user_id}, check that applications[].permissions for Trust Lifecycle Manager includes CREATE_EM_CERTIFICATE and MANAGE_EM_ENROLLMENT. Without Enrollment (Manage), issuance fails even when the role holds every other certificate permission.
  4. Enrollment method. The profile uses rest_api enrollment and third_party_app authentication, which POST /mpki/api/v1/certificate requires.
  5. One SAN DNS name. The request lists exactly one name in attributes.extensions.san.dns_names. A SAN in the CSR doesn’t count.
  6. Seats. The business unit has server seats. A new business unit has none until you allocate them. Check available_seats_stats for the seat type you allocated with GET /mpki/api/v1/business-unit/{bu_id}, then allocate server seats to the business unit. If the account has no unallocated seats, deallocate some from another business unit first.

Each failing check returns its own error:

ErrorCheck
400 with profile_api_token_error “The specified profile does not allow certificate generation with the requested API token”Token binding or current token
403 with no_access “The current User has no requested permissions to create certificate”Issuance permissions
400 with internal_service_error “Failed to validate an attribute with the extensions.san.dns_names key: the attribute value at position 0 should have been supplied, but is missing”One SAN DNS name: the request has none
400 with internal_service_error “Failed to validate an attribute with the key extensions.san.dns_names: Maximum expected values count 1, actual values count 2”One SAN DNS name: the request has two
403 with license_seats_exceeded “License seats exceeded, please contact account administrator”Seats

Another profile accepts the delegated team’s token

This appears in Publish the governed issuance profile, when you confirm that no other profile accepts the token, and in the Another team’s profile test when you validate the guardrails.

Token binding limits a profile to the tokens it lists. It doesn’t stop a token from using a profile that doesn’t bind tokens. A REST API profile with third_party_app authentication and api_token_binding_enabled set to false accepts the delegated team’s token in any business unit.

Fix each profile the check lists, then repeat the check:

  • If identities use the profile, bind their tokens. Get the profile’s complete definition from its owner, because profile reads don’t report the FQDN allow-list pattern. Send it with PUT /mpki/api/v1/profile/{profile_id}, with api_token_binding_enabled set to true and the token IDs in api_token_ids. A request without allowed_fqdn_regex clears that profile’s allow-list.
  • If no identity should use the profile, suspend it in the Trust Lifecycle Manager UI.

A profile that binds other tokens rejects the delegated team’s token with 400 Bad Request:

{
  "errors": [
    {
      "code": "profile_api_token_error",
      "message": "The specified profile does not allow certificate generation with the requested API token"
    }
  ]
}

Business unit administration can’t close this gap. Only standard users can be business unit administrators, and assigning a service user with PUT /mpki/api/v1/business-unit/{id}/admin returns 400 and invalid_input_field “Can’t assign user without TLM administrator access to this account”.

The inventory record shows an unexpected issuer

This appears in Issue and evidence a governed certificate, when you verify the inventory record.

  • ica.id differs from ica_id. The profile is bound to a different issuing CA than the one you approved. Profile reads don’t report the issuing CA, so the inventory record is where it shows. Stop issuance from the profile, revoke the certificate, and recreate the profile with the approved ica.id.
  • ica.id matches, but openssl verify fails. Download issuing-ca.pem and root-ca.pem again with the correct IDs. See Download the CA certificates.

Trust Lifecycle Manager failures

Owner or attribute searches miss the certificate

This appears in Issue and evidence a governed certificate, when you confirm the governance views find the certificate.

  • cert_owners filters by owner email, not owner ID. Use the technical owner’s email address.
  • custom_attributes filters by attribute name unless the value starts with :. Search custom_attributes=:tier2 to filter by value.
  • tags matches whole tags exactly, including case. The singular tag isn’t a filter, so a search that uses it returns the same results as a search without it.
  • A DROP_DOWN_LIST value must be one of the attribute’s items. A mapping with another value returns 400 with invalid_input_field “Not expected value <value> for custom attribute with id <attribute-id>”.
  • If the certificate carries no owners, the issuance request didn’t name them. Correct the delegated team’s request template, then add the owners to the certificate with PUT /mpki/api/v1/certificate-owners/certificate/{id}.
  • If the certificate carries no attributes, the metadata isn’t mapped yet. Apply the mandatory metadata with the setup credential. The delegated team’s role doesn’t hold MANAGE_EM_CUSTOM_ATTRIBUTES, which mapping requires.

An out-of-namespace name is accepted

This appears in the Out-of-namespace name test when you validate the guardrails.

The FQDN allow-list checks only SAN DNS names. A request whose common name is outside the namespace is issued when its SAN DNS name matches, so first check which name was outside the namespace.

If the SAN DNS name was outside it, the allowed_fqdn_regex pattern is too broad. A pattern such as .*payments\.example\.com also accepts notpayments.example.com, and an unescaped dot matches any character. To fix it:

  1. Narrow the pattern, escape every dot, and repeat the local test in Test the FQDN allow-list pattern.
  2. Set the corrected pattern in profile-request.json, and send the whole file with PUT /mpki/api/v1/profile/{profile_id}.
  3. Repeat the guardrail test.

A name inside the namespace is rejected

This appears in Issue and evidence a governed certificate, when you issue the certificate as the delegated identity.

The request returns 400 with internal_service_error and the message from the profile’s allowed_fqdn_regex rule. The pattern must match the whole name, so payments\.example\.com accepts payments.example.com and rejects api.payments.example.com. To fix it:

  1. Change the pattern to cover the names the team needs, such as ^([a-z0-9-]+\.)*payments\.example\.com$, and repeat the local test in Test the FQDN allow-list pattern.
  2. Set the corrected pattern in profile-request.json, and send the whole file with PUT /mpki/api/v1/profile/{profile_id}.
  3. Repeat the guardrail test.

Seat allocation returns license_seats_exceeded

This appears in Define the governance boundary, when you allocate server seats to the business unit.

Other business units hold the account’s seats of that type, such as the Default Business Unit that some accounts have. The request returns 403 with license_seats_exceeded “Requested number of SERVER_SEAT Seats exceeds Account’s not used Seat count”. Reduce another business unit’s allocation of that type, then repeat the request. licensed_amount sets the business unit’s total, so send the full number of seats the team needs.

The issuance response contains a request_id instead of a certificate

This appears in Issue and evidence a governed certificate, when you issue the certificate as the delegated identity.

The profile requires approval or pickup, so the certificate isn’t issued yet. Retrieve it with the pickup request in Asynchronous operations.

The audit log returns no issuance event

This appears in Issue and evidence a governed certificate, when you retrieve the audit evidence.

Confirm that the from and to window, in UTC, covers the issuance time. Audit events might not appear immediately after the action they record, so widen the to time and retry with backoff before you treat the evidence as missing.

DigiCert Private CA failures

The hierarchy request returns ca_is_not_root

This appears in Approve the private CA source, when you confirm the issuing CA under the approved root.

GET /certificate-authority/api/v1/ca/{id}/hierarchy accepts only a root CA ID. A request with an intermediate CA ID returns 400:

{
  "errors": [
    {
      "status": "ca_is_not_root"
    }
  ]
}

Use root_ca_id. In a two-tier hierarchy, it is the issuing CA’s issuer.id, which you saved when you recorded the issuing CA’s approval evidence. In a hierarchy with a policy CA tier, issuer.id is the policy CA, so take the root’s ID from the CA list in Select the internal TLS issuing CA instead.

Account Manager failures

Service user creation rejects the role

This appears in Create the delegated issuance identity, when you create the delegated service user.

roles takes the role name you confirmed when you found the issuance role, not its display_name. Custom role names differ by tenant, so copy the name from your tenant’s response. A display name returns 400 with invalid_input_field “Invalid role: ”.