Overview
The Create Client Certificate endpoint allows you to upload new client certificates for use with mutual TLS authentication in your monitoring checks. Certificates enable secure authentication with services requiring certificate-based client verification. Common Use Cases:- mTLS Setup
- Secure Service Monitoring
- Certificate Deployment
- Authentication Configuration
Authorizations
The Checkly Public API uses API keys to authenticate requests. You can get the API Key here.
Your API key is like a password: keep it secure!
Authentication to the API is performed using the Bearer auth method in the Authorization header and using the account ID.
For example, set Authorization header while using cURL:
curl -H "Authorization: Bearer [apiKey]" "X-Checkly-Account: [accountId]"
Headers
Your Checkly account ID, you can find it at https://app.checklyhq.com/settings/account/general
Body
The host domain for the certificate without https://. You can use wildcards to match domains, e.g. "*.acme.com"
"www.acme.com"
The client certificate in PEM format as a string. This string should retain any line breaks, e.g. it should start similar to this "-----BEGIN CERTIFICATE-----\nMIIEnTCCAoWgAwIBAgIJAL+WugL...
An optional CA certificate in PEM format as a string.
The private key in PEM format as a string.
An optional passphrase for the private key. Your passphrase is stored encrypted at rest.
Response
Created
The host domain for the certificate without https://. You can use wildcards to match domains, e.g. "*.acme.com"
"www.acme.com"
The client certificate in PEM format as a string. This string should retain any line breaks, e.g. it should start similar to this "-----BEGIN CERTIFICATE-----\nMIIEnTCCAoWgAwIBAgIJAL+WugL...
An optional CA certificate in PEM format as a string.