@@ -1568,22 +1568,7 @@ Manage mTLS client certificates and Certificate Authority (CA) chain certificate
15681568
15691569These certificates can be used in Hyperdrive configurations, enabling them to present the certificate when connecting to an origin database that requires client authentication (mTLS) or a custom Certificate Authority (CA).
15701570
1571- ### ` upload mtls-certificate `
1572-
1573- Upload a client certificate.
1574-
1575- ``` txt
1576- wrangler cert upload mtls-certificate --cert <PATH> --key <PATH> [OPTIONS]
1577- ```
1578-
1579- - ` --cert ` <Type text = " string" /> <MetaInfo text = " required" />
1580- - A path to the TLS certificate to upload. Certificate chains are supported.
1581- - ` --key ` <Type text = " string" /> <MetaInfo text = " required" />
1582- - A path to the private key to upload.
1583- - ` --name ` <Type text = " string" /> <MetaInfo text = " optional" />
1584- - The name assigned to the mTLS certificate at upload.
1585-
1586- <Render file = " wrangler-commands/global-flags" product = " workers" />
1571+ <WranglerCommand command = " cert upload mtls-certificate" headingLevel = { 3 } />
15871572
15881573The following is an example of using the ` upload ` command to upload an mTLS certificate.
15891574
@@ -1601,21 +1586,7 @@ Expires: 1/01/2025
16011586
16021587Note that the certificate and private keys must be in separate (typically ` .pem ` ) files when uploading.
16031588
1604- ### ` upload certificate-authority `
1605-
1606- Upload a client certificate.
1607-
1608- ``` txt
1609- wrangler cert upload certificate-authority --ca-cert <PATH> [OPTIONS]
1610- ```
1611-
1612- - ` --ca-cert ` <Type text = " string" /> <MetaInfo text = " required" />
1613- - A path to the Certificate Authority (CA) chain certificate to upload.
1614-
1615- - ` --name ` <Type text = " string" /> <MetaInfo text = " optional" />
1616- - The name assigned to the mTLS certificate at upload.
1617-
1618- <Render file = " wrangler-commands/global-flags" product = " workers" />
1589+ <WranglerCommand command = " cert upload certificate-authority" headingLevel = { 3 } />
16191590
16201591The following is an example of using the ` upload ` command to upload an CA certificate.
16211592
@@ -1632,15 +1603,7 @@ Issuer: CN=my-secured-origin.com,OU=my-team,O=my-org,L=San Francisco,ST=Californ
16321603Expires: 1/01/2025
16331604```
16341605
1635- ### ` list `
1636-
1637- List mTLS certificates associated with the current account ID. This will display both mTLS certificates and CA certificates.
1638-
1639- ``` txt
1640- wrangler cert list
1641- ```
1642-
1643- <Render file = " wrangler-commands/global-flags" product = " workers" />
1606+ <WranglerCommand command = " cert list" headingLevel = { 3 } />
16441607
16451608The following is an example of using the ` list ` command to upload an mTLS or CA certificate.
16461609
@@ -1661,20 +1624,7 @@ Created on: 1/01/2023
16611624Expires: 1/01/2025
16621625```
16631626
1664- ### ` delete `
1665-
1666- Delete a client certificate.
1667-
1668- ``` txt
1669- wrangler cert delete {--id <ID|--name <NAME>}
1670- ```
1671-
1672- - ` --id ` <Type text = " string" />
1673- - The ID of the mTLS or CA certificate.
1674- - ` --name ` <Type text = " string" />
1675- - The name assigned to the mTLS or CA certificate at upload.
1676-
1677- <Render file = " wrangler-commands/global-flags" product = " workers" />
1627+ <WranglerCommand command = " cert delete" headingLevel = { 3 } />
16781628
16791629The following is an example of using the ` delete ` command to delete an mTLS or CA certificate.
16801630
0 commit comments