INTEGRITY Cloudflare Docs

Create a client certificate

Use Cloudflare's public key infrastructure (PKI) to create client certificates issued from a Cloudflare-managed CA. You can then complete your mTLS configuration, as explained in How mTLS works.

To create a client certificate on the Cloudflare dashboard:

  1. Go to the Client Certificates page.

    Go to Client Certificates ↗
  2. Select Add Certificate. The Cloudflare-managed CA is the default Certificate Authority.

  3. Fill in the required fields. You can choose one of the following options:

  1. Select a value for Certificate Validity, and choose Continue.

  2. Make sure to copy the certificate and private key as they will no longer be displayed after creation.

  3. (Optional) Specify hostnames where you wish to enable mTLS.

    When associating hostnames via this form, they should be in fully qualified domain name (FQDN) format and correspond to a hostname that exists in the zone you are in. For example, if you are in zone example.com, you can specify host.example.com but not host.example.net.

  4. Select Save to confirm.

Next steps

After creating the client certificate, make sure it is installed on the client devices and enable mTLS for each hostname that should require a certificate from clients.

Refer to our mTLS at Cloudflare learning path for further context.