| [ Web Proxy ] |
| Viewing: https://developers.cloudflare.com/api/resources/client_certificates/methods/get | [Back] [Original] |
Get Details for a single mTLS API Shield Client Certificate.
The preferred authorization scheme for interacting with the Cloudflare API. Create a token.
Authorization: Bearer Sn3lZJTBX6kkg7OdcBUAxOO963GEIyGQqnFTOFYYThe previous authorization scheme for interacting with the Cloudflare API, used in conjunction with a Global API key.
X-Auth-Email: user@example.comThe previous authorization scheme for interacting with the Cloudflare API. When possible, use API tokens instead of Global API keys.
X-Auth-Key: 144c9defac04969c7bfad8efaa8ea194SSL and Certificates WriteSSL and Certificates ReadCertificate Authority used to issue the Client Certificate.
curl https://api.cloudflare.com/client/v4/zones/$ZONE_ID/client_certificates/$CLIENT_CERTIFICATE_ID \
-H "Authorization: Bearer $CLOUDFLARE_API_TOKEN"{
"errors": [
{
"code": 1000,
"message": "message",
"documentation_url": "documentation_url",
"source": {
"pointer": "pointer"
}
}
],
"messages": [
{
"code": 1000,
"message": "message",
"documentation_url": "documentation_url",
"source": {
"pointer": "pointer"
}
}
],
"success": true,
"result": {
"id": "023e105f4ecef8ad9ca31a8372d0c353",
"certificate": "-----BEGIN CERTIFICATE-----\nMIIDmDCCAoC...dhDDE\n-----END CERTIFICATE-----",
"certificate_authority": {
"id": "568b6b74-7b0c-4755-8840-4e3b8c24adeb",
"name": "Cloudflare Managed CA for account"
},
"common_name": "Cloudflare",
"country": "US",
"csr": "-----BEGIN CERTIFICATE REQUEST-----\nMIICY....\n-----END CERTIFICATE REQUEST-----",
"expires_on": "2033-02-20T23:18:00Z",
"fingerprint_sha256": "256c24690243359fb8cf139a125bd05ebf1d968b71e4caf330718e9f5c8a89ea",
"issued_on": "2023-02-23T23:18:00Z",
"location": "Somewhere",
"organization": "Organization",
"organizational_unit": "Organizational Unit",
"serial_number": "3bb94ff144ac567b9f75ad664b6c55f8d5e48182",
"signature": "SHA256WithRSA",
"ski": "8e375af1389a069a0f921f8cc8e1eb12d784b949",
"state": "CA",
"status": "active",
"validity_days": 3650
}
}{
"errors": [
{
"code": 1000,
"message": "message",
"documentation_url": "documentation_url",
"source": {
"pointer": "pointer"
}
}
],
"messages": [
{
"code": 1000,
"message": "message",
"documentation_url": "documentation_url",
"source": {
"pointer": "pointer"
}
}
],
"success": true,
"result": {
"id": "023e105f4ecef8ad9ca31a8372d0c353",
"certificate": "-----BEGIN CERTIFICATE-----\nMIIDmDCCAoC...dhDDE\n-----END CERTIFICATE-----",
"certificate_authority": {
"id": "568b6b74-7b0c-4755-8840-4e3b8c24adeb",
"name": "Cloudflare Managed CA for account"
},
"common_name": "Cloudflare",
"country": "US",
"csr": "-----BEGIN CERTIFICATE REQUEST-----\nMIICY....\n-----END CERTIFICATE REQUEST-----",
"expires_on": "2033-02-20T23:18:00Z",
"fingerprint_sha256": "256c24690243359fb8cf139a125bd05ebf1d968b71e4caf330718e9f5c8a89ea",
"issued_on": "2023-02-23T23:18:00Z",
"location": "Somewhere",
"organization": "Organization",
"organizational_unit": "Organizational Unit",
"serial_number": "3bb94ff144ac567b9f75ad664b6c55f8d5e48182",
"signature": "SHA256WithRSA",
"ski": "8e375af1389a069a0f921f8cc8e1eb12d784b949",
"state": "CA",
"status": "active",
"validity_days": 3650
}
}| Web Proxy Viewer | New URL | Original Page |