--- title: "Troubleshoot governed TLS issuance" description: "Diagnose cross-product identifier mismatches, binding and scoping failures, seat shortages, and metadata gaps in the governed TLS issuance workflow." source_url: https://dev.digicert.com/solutions/governed-tls-issuance/troubleshoot.html --- # 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](https://dev.digicert.com/md/get-started/error-handling-rate-limits.md). ## Quick triage | Symptom | Likely cause | Go to | |---------|--------------|-------| | A save step stops with "expected one match, found N" | The value you set doesn't match exactly one item | [A save step stops with expected one match, found N](#a-save-step-stops-with-expected-one-match-found-n) | | A create request timed out | The resource might exist already | [A create request times out or loses its response](#a-create-request-times-out-or-loses-its-response) | | A setup request returns `no_access` or `authentication_error` | The setup credential lacks a role | [Setup requests return no_access or authentication_error](#setup-requests-return-no_access-or-authentication_error) | | Profile creation fails on `ica` | Wrong identifier for the issuing CA | [Profile creation rejects the issuing CA](#profile-creation-rejects-the-issuing-ca) | | The delegated team's token can't issue from the profile | Wrong binding ID, missing permission, wrong number of SAN DNS names, or no seats | [The delegated team can't issue from the profile](#the-delegated-team-cant-issue-from-the-profile) | | The delegated team's token issues through another profile | That profile doesn't bind API tokens | [Another profile accepts the delegated team's token](#another-profile-accepts-the-delegated-teams-token) | | The inventory record shows an unexpected issuer | The profile is bound to a different issuing CA | [The inventory record shows an unexpected issuer](#the-inventory-record-shows-an-unexpected-issuer) | | Owner or attribute searches return nothing | Metadata not applied, or the filter syntax is wrong | [Owner or attribute searches miss the certificate](#owner-or-attribute-searches-miss-the-certificate) | | An out-of-namespace name is accepted | The FQDN allow-list pattern is too broad | [An out-of-namespace name is accepted](#an-out-of-namespace-name-is-accepted) | | A name inside the namespace is rejected | The FQDN allow-list pattern doesn't match the whole name | [A name inside the namespace is rejected](#a-name-inside-the-namespace-is-rejected) | | Seat allocation returns `license_seats_exceeded` | The account has too few unallocated seats of that type | [Seat allocation returns license_seats_exceeded](#seat-allocation-returns-license_seats_exceeded) | | The issuance response contains `request_id` | The profile requires approval or pickup | [The issuance response contains a request_id instead of a certificate](#the-issuance-response-contains-a-request_id-instead-of-a-certificate) | | The audit log returns no issuance event | The event isn't recorded yet, or the time window misses it | [The audit log returns no issuance event](#the-audit-log-returns-no-issuance-event) | | The hierarchy request returns `ca_is_not_root` | The request used the issuing CA ID | [The hierarchy request returns ca_is_not_root](#the-hierarchy-request-returns-ca_is_not_root) | | Service user creation is rejected | Role display name sent instead of role name | [Service user creation rejects the role](#service-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](#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](https://dev.digicert.com/md/solutions/governed-tls-issuance/operate.md#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](https://dev.digicert.com/md/solutions/governed-tls-issuance/phase-1-governance-boundary.md#step-12-create-the-delegated-business-unit) or [check for an existing metadata standard](https://dev.digicert.com/md/solutions/governed-tls-issuance/phase-1-governance-boundary.md#check-for-an-existing-metadata-standard). It also appears in Create the delegated issuance identity, when you [create the delegated service user](https://dev.digicert.com/md/solutions/governed-tls-issuance/phase-3-delegated-identity.md#step-32-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](https://dev.digicert.com/md/solutions/governed-tls-issuance.md#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: ```json { "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: ```json { "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](https://dev.digicert.com/md/solutions/governed-tls-issuance/phase-4-governed-profile.md#step-41-create-the-token-bound-profile). `ica.id` takes `ica_id`, the DigiCert® Private CA `id` you saved in [Select the internal TLS issuing CA](https://dev.digicert.com/md/solutions/governed-tls-issuance/phase-2-approved-ca-source.md#step-21-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`: ```json { "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](#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](https://dev.digicert.com/md/solutions/governed-tls-issuance/phase-2-approved-ca-source.md#step-23-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](https://dev.digicert.com/md/solutions/governed-tls-issuance/phase-5-governed-issuance.md#step-51-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](https://dev.digicert.com/md/solutions/governed-tls-issuance/phase-3-delegated-identity.md#step-32-create-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}`. 1. **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. 1. **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. 1. **Enrollment method.** The profile uses `rest_api` enrollment and `third_party_app` authentication, which `POST /mpki/api/v1/certificate` requires. 1. **One SAN DNS name.** The request lists exactly one name in `attributes.extensions.san.dns_names`. A SAN in the CSR doesn't count. 1. **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](https://dev.digicert.com/md/solutions/governed-tls-issuance/phase-1-governance-boundary.md#step-13-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: | Error | Check | |-------|-------| | `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](https://dev.digicert.com/md/solutions/governed-tls-issuance/phase-4-governed-profile.md#step-43-confirm-that-no-other-profile-accepts-the-token), and in the **Another team's profile** test when you [validate the guardrails](https://dev.digicert.com/md/solutions/governed-tls-issuance/phase-5-governed-issuance.md#step-56-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`: ```json { "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](https://dev.digicert.com/md/solutions/governed-tls-issuance/phase-5-governed-issuance.md#step-52-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](https://dev.digicert.com/md/solutions/governed-tls-issuance/phase-2-approved-ca-source.md#step-25-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](https://dev.digicert.com/md/solutions/governed-tls-issuance/phase-5-governed-issuance.md#step-54-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 \ for custom attribute with 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](https://dev.digicert.com/md/solutions/governed-tls-issuance/phase-5-governed-issuance.md#step-53-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](https://dev.digicert.com/md/solutions/governed-tls-issuance/phase-5-governed-issuance.md#step-56-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](https://dev.digicert.com/md/solutions/governed-tls-issuance/phase-4-governed-profile.md#test-the-fqdn-allow-list-pattern). 1. Set the corrected pattern in `profile-request.json`, and send the whole file with `PUT /mpki/api/v1/profile/{profile_id}`. 1. 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](https://dev.digicert.com/md/solutions/governed-tls-issuance/phase-5-governed-issuance.md#step-51-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](https://dev.digicert.com/md/solutions/governed-tls-issuance/phase-4-governed-profile.md#test-the-fqdn-allow-list-pattern). 1. Set the corrected pattern in `profile-request.json`, and send the whole file with `PUT /mpki/api/v1/profile/{profile_id}`. 1. 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](https://dev.digicert.com/md/solutions/governed-tls-issuance/phase-1-governance-boundary.md#step-13-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](https://dev.digicert.com/md/solutions/governed-tls-issuance/phase-5-governed-issuance.md#step-51-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](https://dev.digicert.com/md/solutions/governed-tls-issuance/operate.md#asynchronous-operations). ### The audit log returns no issuance event This appears in Issue and evidence a governed certificate, when you [retrieve the audit evidence](https://dev.digicert.com/md/solutions/governed-tls-issuance/phase-5-governed-issuance.md#step-55-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](https://dev.digicert.com/md/solutions/governed-tls-issuance/phase-2-approved-ca-source.md#step-24-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`: ```json { "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](https://dev.digicert.com/md/solutions/governed-tls-issuance/phase-2-approved-ca-source.md#step-22-record-the-issuing-cas-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](https://dev.digicert.com/md/solutions/governed-tls-issuance/phase-2-approved-ca-source.md#step-21-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](https://dev.digicert.com/md/solutions/governed-tls-issuance/phase-3-delegated-identity.md#step-32-create-the-delegated-service-user). `roles` takes the role `name` you confirmed when you [found the issuance role](https://dev.digicert.com/md/solutions/governed-tls-issuance/phase-3-delegated-identity.md#step-31-find-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: ". ## Related pages - [Operate this solution](https://dev.digicert.com/md/solutions/governed-tls-issuance/operate.md) - [Governed TLS issuance reference](https://dev.digicert.com/md/solutions/governed-tls-issuance/reference.md) - [Request a TLS certificate](https://dev.digicert.com/md/trust-lifecycle-api/tutorials/request-a-tls-certificate.md) - [DigiCert API error reference](https://dev.digicert.com/md/get-started/error-handling-rate-limits.md)