Skip to main content

Create a certificate request token

Certificate request tokens provide a secure workflow for issuing client certificates for your Frontdoor service. This process allows an administrator to first create a single-use token containing pre-approved metadata. An end user or system then redeems this token along with their own certificate signing request (CSR) to generate the final client certificate, securely separating the administrative approval from the end user's key generation.

Steps

  1. From the Frontdoor console, click Certificates in the left-hand menu.

  2. Click the Certificate Request Tokens tab.

  3. Click the + icon to create a new certificate request token.

  4. Fill in the fields:

    • Name: A name for the token used in the Frontdoor console (e.g., `API example cert), and the name of the client certificate created when the token is used.
    • Common name (Optional): The common name (CN) for the certificate (e.g., api.example.com).
    • Organization (Optional): The organization (O) for the certificate (e.g., Example Company).
    • Organizational unit (Optional): The organizational unit (OU) within the organization for the certificate (e.g., API Services).

    The optional fields are used to pre-define and lock parts of the certificate's subject. The end user redeeming the token can't modify these fields when creating the certificate, unless they're left blank.

  5. Click Create.

Create client certificate from token

Your certificate request token will appear in the token list.

  1. Open the token and copy its Share link, or download its Enrollment JWT.

    Send one of these to the person or system that needs the certificate. Both carry the signed enrollment JWT, which holds the endpoint to call, the token, and the certificate subject you fixed. The share link opens a page that generates a key pair in the recipient's browser; the downloaded JWT suits a recipient who automates the request.

    Treat either one as a credential and send it over a channel you trust. To revoke it, delete the token.

Troubleshooting

Token not found or expired

When encountering token validation issues:

  • Verify the enrollment JWT was copied whole, with no line breaks introduced by the channel it travelled through
  • Check that the expiration time hasn't passed (tokens automatically become invalid after their configured lifetime)
  • Confirm the token hasn't already been used to create a certificate (tokens are single-use by design)
  • Verify that the token hasn't been deleted from the system by an administrator
  • Confirm the JWT was issued for the Frontdoor account being called; a JWT is valid for one account only

Certificate signing request subject rejected

A 400 response naming an attribute means the CSR subject disagrees with the token:

  • Read the error. It names each attribute, the value the token requires, and the value the request sent
  • Rebuild the CSR with a matching -subj, for example -subj "/CN=api.example.com/O=Example Corp/OU=API Services"
  • The required values are also in the enrollment JWT, so decoding it shows what the CSR must contain
  • An attribute the administrator left blank places no constraint, and the request chooses it

Permission errors

Permission-related issues typically stem from insufficient access rights or configuration problems:

  • Confirm that the user attempting to create tokens has the appropriate permissions within the Frontdoor account
  • Verify that token redemption is being performed correctly according to the API documentation and expected workflow
  • Check that TCP shares are enabled for the Frontdoor account (required for certificate-based authentication functionality)