Skip to content

Commit aeab5b9

Browse files
[CF1] partial front matter edit
1 parent 8229470 commit aeab5b9

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

src/content/docs/cloudflare-one/connections/connect-devices/user-side-certificates/custom-certificate.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ openssl x509 -in <CUSTOM-ROOT-CERT>.pem -text
7878

7979
<TabItem label="API">
8080

81-
1. <Render file="upload-mtls-cert" params={{ one: " ", cert: "root CA" }} />
81+
1. <Render file="upload-mtls-cert" params={{ key: " ", cert: "root CA" }} />
8282

8383
2. Set the certificate as available for use in inspection with the [Activate a Zero Trust certificate endpoint](/api/resources/zero_trust/subresources/gateway/subresources/certificates/methods/activate/). This will deploy the certificate across the Cloudflare global network.
8484

src/content/docs/cloudflare-one/identity/devices/warp-client-checks/client-certificate.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ You can use the [Cloudflare PKI toolkit](/cloudflare-one/identity/devices/access
5252
1. <Render
5353
file="upload-mtls-cert"
5454
params={{
55-
one: "The private key is only required if you are using this custom certificate for Gateway HTTPS inspection.",
55+
key: "The private key is only required if you are using this custom certificate for Gateway HTTPS inspection.",
5656
cert: "signing certificate",
5757
}}
5858
/>

src/content/partials/cloudflare-one/upload-mtls-cert.mdx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
---
2-
inputParameters: param1
2+
params:
3+
- cert
4+
- key?
35
---
46

57
import { Markdown } from "~/components";
68

7-
Use the [Upload mTLS certificate endpoint](/api/resources/mtls_certificates/methods/create/) to upload the certificate and private key to Cloudflare. The certificate must be a {props.cert}, formatted as a single string with `\n` replacing the line breaks. {props.one}
9+
Use the [Upload mTLS certificate endpoint](/api/resources/mtls_certificates/methods/create/) to upload the certificate and private key to Cloudflare. The certificate must be a {props.cert}, formatted as a single string with `\n` replacing the line breaks. {props.key}
810

911
```sh
1012
curl "https://api.cloudflare.com/client/v4/accounts/$ACCOUNT_ID/mtls_certificates" \

0 commit comments

Comments
 (0)