Skip to content

Commit cc3f316

Browse files
Fill in examples in geokey-manager/setup
1 parent a3dd6cc commit cc3f316

File tree

1 file changed

+16
-6
lines changed
  • src/content/docs/ssl/edge-certificates/geokey-manager

1 file changed

+16
-6
lines changed

src/content/docs/ssl/edge-certificates/geokey-manager/setup.mdx

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,14 @@ curl "https://api.cloudflare.com/client/v4/zones/{zone_id}/custom_certificates"
5050
```
5151

5252
<APIRequest
53-
path=""
54-
method=""
55-
json={{}}
53+
path="/zones/{zone_id}/custom_certificates"
54+
method="POST"
55+
json={{
56+
"certificate":"certificate",
57+
"private_key":"<PRIVATE_KEY>",
58+
"policy":"(country: US) and (region: EU)",
59+
"type": "sni_custom"
60+
}}
5661
/>
5762

5863
```bash title="Store private keys in the E.U., but not in France"
@@ -69,9 +74,14 @@ curl "https://api.cloudflare.com/client/v4/zones/{zone_id}/custom_certificates"
6974
```
7075

7176
<APIRequest
72-
path=""
73-
method=""
74-
json={{}}
77+
path="/zones/{zone_id}/custom_certificates"
78+
method="POST"
79+
json={{
80+
"certificate":"certificate",
81+
"private_key":"<PRIVATE_KEY>",
82+
"policy":"(region: EU) and (not country: FR)",
83+
"type": "sni_custom"
84+
}}
7585
/>
7686

7787
:::note

0 commit comments

Comments
 (0)