Skip to content

Commit 7433952

Browse files
[SSL] More detail on per-hostname AOP cert replacement (#22714)
* Update manage-certificates.mdx add additional instruction for hostname based AOP * Use APIRequest compenent and other Style Guide adjustments * Small tweak so that step 3 is easier to read --------- Co-authored-by: Rebecca Tamachiro <[email protected]> Co-authored-by: Rebecca Tamachiro <[email protected]>
1 parent 3fbe3d9 commit 7433952

File tree

1 file changed

+22
-4
lines changed

1 file changed

+22
-4
lines changed

src/content/docs/ssl/origin-configuration/authenticated-origin-pull/set-up/manage-certificates.mdx

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ head:
99

1010
---
1111

12+
import { APIRequest } from "~/components";
13+
1214
Refer to the following sections to learn how to manage certificates used with the different Authenticated Origin Pulls setups.
1315

1416
## Use specialized certificates
@@ -33,13 +35,29 @@ However, requests are dropped at your origin if your origin only accepts a valid
3335

3436
## Replace a client cert (without downtime)
3537

36-
For hostname:
38+
### Per-hostname
3739

3840
1. [Upload the new certificate](/api/resources/origin_tls_client_auth/subresources/hostnames/subresources/certificates/methods/create/).
3941

40-
2. [Enable Authenticated Origin Pulls for that specific hostname](/api/resources/origin_tls_client_auth/subresources/hostnames/methods/update/).
41-
42-
For global:
42+
2. [List your certificates](/api/resources/origin_tls_client_auth/subresources/hostnames/subresources/certificates/methods/list/) and note the ID for the certificate you uploaded.
43+
44+
3. [Enable Authenticated Origin Pulls for the specific hostname](/api/resources/origin_tls_client_auth/subresources/hostnames/methods/update/), using the ID obtained in step 2 to specify the certificate you want to use:
45+
46+
<APIRequest
47+
path="/zones/{zone_id}/origin_tls_client_auth/hostnames"
48+
method="PUT"
49+
json={{
50+
"config": [
51+
{
52+
"enabled": true,
53+
"hostname": "<HOSTNAME>",
54+
"cert_id": "<CERT_ID>"
55+
}
56+
]
57+
}}
58+
/>
59+
60+
### Zone-level
4361

4462
1. [Upload the new certificate](/api/resources/origin_tls_client_auth/methods/create/).
4563

0 commit comments

Comments
 (0)