Certificate templates encode “the way we always issue this kind of certificate” so operators don’t reinvent settings every time and policies stay enforced by construction. You create a template once, and the issuance wizard, automated renewals, and API calls all use it as a starting point.
Certificate Templates

What it is

A template is a named set of defaults: subject format, SAN rules, key algorithm, key size, key usage extensions, validity, and auto-renewal preference. Applying a template at issuance time pre-fills the form and prevents operators from accidentally issuing with weak cryptography or incorrect extensions.

When to use it

  • Standardize on ECDSA P-256 and 90-day validity for all internal TLS services.
  • Prevent issuance of TLS certificates without at least one DNS SAN (a common browser requirement).
  • Lock code-signing certificates to RSA-3072 so key strength is enforced by construction.
  • Give teams pre-approved templates to self-serve certificate issuance within policy boundaries.

Set it up

1

Open the template catalog

Go to Certificates > Templates. You’ll see workspace templates plus the built-in defaults that ship with every workspace.
2

Create a template

Click New template and choose the closest base type (Web server, Client auth, Code signing, Email, or Custom).
3

Configure cryptographic settings

Set the key algorithm, key size, and validity. Lock these fields if you want them to be non-overridable at issuance time.
4

Set SAN rules

Enable SAN required for web-server templates to prevent issuing TLS certificates without a DNS SAN. Optionally set a maximum SAN count or forbid wildcard patterns.
5

Set subject format

Use the subject format field to define a consistent subject DN. Placeholders like {commonName}, {organization}, and {workspaceSlug} are resolved at issuance time.
6

Save

Click Save template. It is available immediately in the issuance wizard and via the API.

What you’ll see

After saving, the template appears in the Certificates > Templates list with its name, base type, and the count of certificates currently issued from it. The issuance wizard shows the template in the Template dropdown; selecting it pre-fills all fields that the template defines.

Built-in defaults

Each base type ships with sensible key-usage presets:
Base typeKey usageExtended key usageTypical validity
Web serverdigitalSignature, keyEnciphermentserverAuth90 days
Client authdigitalSignatureclientAuth365 days
Code signingdigitalSignaturecodeSigning365 days
EmaildigitalSignature, keyEncipherment, dataEnciphermentemailProtection365 days
CustomdigitalSignature(none)90 days
Use Custom when you need unusual extended key usage combinations (for example, mTLS with both serverAuth and clientAuth).

Templates and renewal

The renewal engine records which template was used at issuance. On renewal it reuses the same template so the renewed certificate inherits the exact same key algorithm, extensions, and validity — no drift across the lifecycle. Changing a template only affects future issuances; existing certificates stay on the template they were minted with unless you explicitly re-issue.

Policy alignment

Templates enforce per-use-case settings on top of workspace-wide policy floors. If workspace policy requires RSA minimum 2048 and a template specifies ECDSA P-256, both constraints apply — the template wins because ECDSA P-256 is stricter than RSA-2048 for equivalent security level.

Policies

Set the workspace-wide cryptographic floor.

Certificate issuance

Use a template in the issuance flow.

PKI Core

Templates are enforced during internal CA signing.