Skip to content

Commit 7c6a9e2

Browse files
Remove component for missing csrs endpoint
1 parent b04c669 commit 7c6a9e2

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

src/content/docs/cloudflare-for-platforms/cloudflare-for-saas/security/certificate-management/custom-certificates/certificate-signing-requests.mdx

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -79,15 +79,8 @@ curl https://api.cloudflare.com/client/v4/zones/{zone_id}/custom_csrs \
7979
"csr": "-----BEGIN CERTIFICATE REQUEST-----\nMIIBSzCB8gIBADBiMQswaQYDVQQGEwJVUzELMAkGA1UECBMCTUExDzANBgNVBAcT\nBkJvc3RvbjEaMBgGA1UEChMRQ2l0eSBvZiBDaGFtcGlvbnMxGTAXBgNVBAMTEGNz\nci1wcm9kLnRscy5mdW4wWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAaTKf70NYlwr\n20P6P8xj8/4mTN5q28dbZR/gM3u4m/RPs24+PxAfMZCNvkVKAPVWYfUAadZI4Ha/\ndxLh5Q6X5bhIoC4wLAYJKoZIhvcNAQkOMR8wHTAbBqNVHREEFDASghBjc3ItcHJv\nZC50bHMuZnVuMAoGCCqGSM49BAMCA0gAMEUCIQDgtFUZav466SbT2FGBsIBlahDI\nVkg4y+u+V/K5DlY1+gIgQ9xLfUSKnSnJYbM9TwWr4Z964+lBtB9af4O5pp7/PSA=\n-----END CERTIFICATE REQUEST-----\n"
8080
},
8181
"success": true
82-
}
8382
```
8483
85-
<APIRequest
86-
path=""
87-
method=""
88-
json={{}}
89-
/>
90-
9184
Replace the `\n` characters with actual newlines before passing to your customer. This can be accomplished by piping the output of the prior call to a tool like jq and perl, such as:
9285
9386
```bash
@@ -98,12 +91,6 @@ curl https://api.cloudflare.com/client/v4/zones/{zone_id}/custom_csrs \
9891
--data "$request_body" | jq .result.csr | perl -npe s'/\\n/\n/g; s/"//g' > csr.txt
9992
```
10093
101-
<APIRequest
102-
path=""
103-
method=""
104-
json={{}}
105-
/>
106-
10794
### 3. Customer obtains certificate
10895
10996
Your customer will take the provided CSR and work with their CA to obtain a signed, publicly trusted certificate.
@@ -145,10 +132,4 @@ You can request the (paginated) collection of all previously generated custom CS
145132
146133
Delete one or more of the CSRs to delete the underlying private key by making a `DELETE` request to `https://api.cloudflare.com/client/v4/zones/{zone_id}/custom_csrs/{csr_id}`.
147134
148-
<APIRequest
149-
path=""
150-
method=""
151-
json={{}}
152-
/>
153-
154135
You may delete a CSR provided there are no custom certificates using the private key that was generated for the CSR. If you attempt to delete a CSR whose private key is still in use, you will receive an error.

0 commit comments

Comments
 (0)