---
title: Order Advanced Certificate Manager Certificate Pack
---

[Skip to content](#_top)

[API Reference](https://developers.cloudflare.com/api/python)

[SSL](https://developers.cloudflare.com/api/python/resources/ssl)

[Certificate Packs](https://developers.cloudflare.com/api/python/resources/ssl/subresources/certificate_packs)

Copy Markdown

Open in **Claude**Open in **ChatGPT**Open in **Cursor**

---

**Copy Markdown****View as Markdown**

# Order Advanced Certificate Manager Certificate Pack

ssl.certificate\_packs.create(CertificatePackCreateParams\*\*kwargs) -> [CertificatePackCreateResponse](<https://developers.cloudflare.com/api/python/resources/ssl#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)>)

POST/zones/{zone\_id}/ssl/certificate\_packs/order

For a given zone, order an advanced certificate pack.

##### Security

<details>

<summary>API Token</summary>



The preferred authorization scheme for interacting with the Cloudflare API. <a href="https://developers.cloudflare.com/fundamentals/api/get-started/create-token/">Create a token</a>.

**Example:**<code>Authorization: Bearer Sn3lZJTBX6kkg7OdcBUAxOO963GEIyGQqnFTOFYY</code>

</details>

<details>

<summary>API Email + API Key</summary>



The previous authorization scheme for interacting with the Cloudflare API, used in conjunction with a Global API key.

**Example:**<code>X-Auth-Email: user@example.com</code>

The previous authorization scheme for interacting with the Cloudflare API. When possible, use API tokens instead of Global API keys.

**Example:**<code>X-Auth-Key: 144c9defac04969c7bfad8efaa8ea194</code>

</details>

##### Accepted Permissions (at least one required)

`SSL and Certificates Write`

##### ParametersExpand Collapse

zone\_id: str

Identifier.

maxLength32

[Link to this property](<#(resource)%20ssl.certificate_packs%20%3E%20(method)%20create%20%3E%20(params)%20default%20%3E%20(param)%20zone_id%20%3E%20(schema)>)

<details>

<summary>

certificate\_authority: Literal\["google", "lets\_encrypt", "ssl\_com"]

Certificate Authority selected for the order. For information on any certificate authority specific details or restrictions <a href="https://developers.cloudflare.com/ssl/reference/certificate-authorities">see this page for more details</a>.

</summary>

One of the following:

"google"

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(method)%20create%20%3E%20(params)%20default%20%3E%20(param)%20certificate_authority%20%3E%20(schema)%20%3E%20(member)%200">Link to this property</a>

"lets\_encrypt"

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(method)%20create%20%3E%20(params)%20default%20%3E%20(param)%20certificate_authority%20%3E%20(schema)%20%3E%20(member)%201">Link to this property</a>

"ssl\_com"

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(method)%20create%20%3E%20(params)%20default%20%3E%20(param)%20certificate_authority%20%3E%20(schema)%20%3E%20(member)%202">Link to this property</a>

</details>

[Link to this property](<#(resource)%20ssl.certificate_packs%20%3E%20(method)%20create%20%3E%20(params)%20default%20%3E%20(param)%20certificate_authority%20%3E%20(schema)>)

hosts: Sequence\[[Host](<https://developers.cloudflare.com/api/python/resources/ssl#(resource)%20ssl.certificate_packs%20%3E%20(model)%20host%20%3E%20(schema)>)]

Comma separated list of valid host names for the certificate packs. Must contain the zone apex, may not contain more than 50 hosts, and may not be empty.

[Link to this property](<#(resource)%20ssl.certificate_packs%20%3E%20(method)%20create%20%3E%20(params)%20default%20%3E%20(param)%20hosts%20%3E%20(schema)>)

type: Literal\["advanced"]

Type of certificate pack.

[Link to this property](<#(resource)%20ssl.certificate_packs%20%3E%20(method)%20create%20%3E%20(params)%20default%20%3E%20(param)%20type%20%3E%20(schema)>)

<details>

<summary>

validation\_method: Literal\["txt", "http", "email"]

Validation Method selected for the order.

</summary>

One of the following:

"txt"

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(method)%20create%20%3E%20(params)%20default%20%3E%20(param)%20validation_method%20%3E%20(schema)%20%3E%20(member)%200">Link to this property</a>

"http"

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(method)%20create%20%3E%20(params)%20default%20%3E%20(param)%20validation_method%20%3E%20(schema)%20%3E%20(member)%201">Link to this property</a>

"email"

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(method)%20create%20%3E%20(params)%20default%20%3E%20(param)%20validation_method%20%3E%20(schema)%20%3E%20(member)%202">Link to this property</a>

</details>

[Link to this property](<#(resource)%20ssl.certificate_packs%20%3E%20(method)%20create%20%3E%20(params)%20default%20%3E%20(param)%20validation_method%20%3E%20(schema)>)

<details>

<summary>

validity\_days: Literal\[14, 30, 90, 365]

Validity Days selected for the order.

</summary>

One of the following:

14

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(method)%20create%20%3E%20(params)%20default%20%3E%20(param)%20validity_days%20%3E%20(schema)%20%3E%20(member)%200">Link to this property</a>

30

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(method)%20create%20%3E%20(params)%20default%20%3E%20(param)%20validity_days%20%3E%20(schema)%20%3E%20(member)%201">Link to this property</a>

90

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(method)%20create%20%3E%20(params)%20default%20%3E%20(param)%20validity_days%20%3E%20(schema)%20%3E%20(member)%202">Link to this property</a>

365

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(method)%20create%20%3E%20(params)%20default%20%3E%20(param)%20validity_days%20%3E%20(schema)%20%3E%20(member)%203">Link to this property</a>

</details>

[Link to this property](<#(resource)%20ssl.certificate_packs%20%3E%20(method)%20create%20%3E%20(params)%20default%20%3E%20(param)%20validity_days%20%3E%20(schema)>)

cloudflare\_branding: Optional\[[bool](<https://developers.cloudflare.com/api/python/resources/ssl/subresources/certificate_packs/methods/create#(resource)%20ssl.certificate_packs%20%3E%20(method)%20create%20%3E%20(params)%20default%20%3E%20(param)%20cloudflare_branding%20%3E%20(schema)>)]

Whether or not to add Cloudflare Branding for the order. This will add a subdomain of sni.cloudflaressl.com as the Common Name if set to true.

[Link to this property](<#(resource)%20ssl.certificate_packs%20%3E%20(method)%20create%20%3E%20(params)%20default%20%3E%20(param)%20cloudflare_branding%20%3E%20(schema)>)

##### ReturnsExpand Collapse

<details>

<summary>

class CertificatePackCreateResponse: …

A certificate pack with all its properties.

</summary>

id: str

The unique identifier for a certificate\_pack.

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

<details>

<summary>

certificates: List\[Certificate]

Array of certificates in this pack.

</summary>

id: str

Certificate identifier.

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)%20%3E%20(property)%20certificates%20%3E%20(items)%20%3E%20(property)%20id">Link to this property</a>

hosts: List\[str]

Hostnames covered by this certificate.

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)%20%3E%20(property)%20certificates%20%3E%20(items)%20%3E%20(property)%20hosts">Link to this property</a>

status: str

Certificate status.

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)%20%3E%20(property)%20certificates%20%3E%20(items)%20%3E%20(property)%20status">Link to this property</a>

bundle\_method: Optional\[str]

Certificate bundle method.

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)%20%3E%20(property)%20certificates%20%3E%20(items)%20%3E%20(property)%20bundle_method">Link to this property</a>

expires\_on: Optional\[datetime]

When the certificate from the authority expires.

formatdate-time

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)%20%3E%20(property)%20certificates%20%3E%20(items)%20%3E%20(property)%20expires_on">Link to this property</a>

<details>

<summary>

geo\_restrictions: Optional\[CertificateGeoRestrictions]

Specify the region where your private key can be held locally.

</summary>

<details>

<summary>

label: Optional\[Literal\["us", "eu", "highest\_security"]]

</summary>

One of the following:

"us"

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)%20%3E%20(property)%20certificates%20%3E%20(items)%20%3E%20(property)%20geo_restrictions%20%3E%20(property)%20label%20%3E%20(member)%200">Link to this property</a>

"eu"

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)%20%3E%20(property)%20certificates%20%3E%20(items)%20%3E%20(property)%20geo_restrictions%20%3E%20(property)%20label%20%3E%20(member)%201">Link to this property</a>

"highest\_security"

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)%20%3E%20(property)%20certificates%20%3E%20(items)%20%3E%20(property)%20geo_restrictions%20%3E%20(property)%20label%20%3E%20(member)%202">Link to this property</a>

</details>

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)%20%3E%20(property)%20certificates%20%3E%20(items)%20%3E%20(property)%20geo_restrictions%20%3E%20(property)%20label">Link to this property</a>

</details>

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)%20%3E%20(property)%20certificates%20%3E%20(items)%20%3E%20(property)%20geo_restrictions">Link to this property</a>

issuer: Optional\[str]

The certificate authority that issued the certificate.

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)%20%3E%20(property)%20certificates%20%3E%20(items)%20%3E%20(property)%20issuer">Link to this property</a>

modified\_on: Optional\[datetime]

When the certificate was last modified.

formatdate-time

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)%20%3E%20(property)%20certificates%20%3E%20(items)%20%3E%20(property)%20modified_on">Link to this property</a>

priority: Optional\[float]

The order/priority in which the certificate will be used.

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)%20%3E%20(property)%20certificates%20%3E%20(items)%20%3E%20(property)%20priority">Link to this property</a>

signature: Optional\[str]

The type of hash used for the certificate.

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)%20%3E%20(property)%20certificates%20%3E%20(items)%20%3E%20(property)%20signature">Link to this property</a>

uploaded\_on: Optional\[datetime]

When the certificate was uploaded to Cloudflare.

formatdate-time

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)%20%3E%20(property)%20certificates%20%3E%20(items)%20%3E%20(property)%20uploaded_on">Link to this property</a>

zone\_id: Optional\[str]

Identifier.

maxLength32

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)%20%3E%20(property)%20certificates%20%3E%20(items)%20%3E%20(property)%20zone_id">Link to this property</a>

</details>

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)%20%3E%20(property)%20certificates">Link to this property</a>

hosts: List\[<a href="https://developers.cloudflare.com/api/python/resources/ssl#(resource)%20ssl.certificate_packs%20%3E%20(model)%20host%20%3E%20(schema)">Host</a>]

Comma separated list of valid host names for the certificate packs. Must contain the zone apex, may not contain more than 50 hosts, and may not be empty.

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)%20%3E%20(property)%20hosts">Link to this property</a>

<details>

<summary>

status: <a href="https://developers.cloudflare.com/api/python/resources/ssl#(resource)%20ssl.certificate_packs%20%3E%20(model)%20status%20%3E%20(schema)">Status</a>

Status of certificate pack.

</summary>

One of the following:

"initializing"

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)%20%3E%20(property)%20status%20%2B%20(resource)%20ssl.certificate_packs%20%3E%20(model)%20status%20%3E%20(schema)%20%3E%20(member)%200">Link to this property</a>

"pending\_validation"

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)%20%3E%20(property)%20status%20%2B%20(resource)%20ssl.certificate_packs%20%3E%20(model)%20status%20%3E%20(schema)%20%3E%20(member)%201">Link to this property</a>

"deleted"

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)%20%3E%20(property)%20status%20%2B%20(resource)%20ssl.certificate_packs%20%3E%20(model)%20status%20%3E%20(schema)%20%3E%20(member)%202">Link to this property</a>

"pending\_issuance"

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)%20%3E%20(property)%20status%20%2B%20(resource)%20ssl.certificate_packs%20%3E%20(model)%20status%20%3E%20(schema)%20%3E%20(member)%203">Link to this property</a>

"pending\_deployment"

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)%20%3E%20(property)%20status%20%2B%20(resource)%20ssl.certificate_packs%20%3E%20(model)%20status%20%3E%20(schema)%20%3E%20(member)%204">Link to this property</a>

"pending\_deletion"

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)%20%3E%20(property)%20status%20%2B%20(resource)%20ssl.certificate_packs%20%3E%20(model)%20status%20%3E%20(schema)%20%3E%20(member)%205">Link to this property</a>

"pending\_expiration"

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)%20%3E%20(property)%20status%20%2B%20(resource)%20ssl.certificate_packs%20%3E%20(model)%20status%20%3E%20(schema)%20%3E%20(member)%206">Link to this property</a>

"expired"

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)%20%3E%20(property)%20status%20%2B%20(resource)%20ssl.certificate_packs%20%3E%20(model)%20status%20%3E%20(schema)%20%3E%20(member)%207">Link to this property</a>

"active"

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)%20%3E%20(property)%20status%20%2B%20(resource)%20ssl.certificate_packs%20%3E%20(model)%20status%20%3E%20(schema)%20%3E%20(member)%208">Link to this property</a>

"initializing\_timed\_out"

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)%20%3E%20(property)%20status%20%2B%20(resource)%20ssl.certificate_packs%20%3E%20(model)%20status%20%3E%20(schema)%20%3E%20(member)%209">Link to this property</a>

"validation\_timed\_out"

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)%20%3E%20(property)%20status%20%2B%20(resource)%20ssl.certificate_packs%20%3E%20(model)%20status%20%3E%20(schema)%20%3E%20(member)%2010">Link to this property</a>

"issuance\_timed\_out"

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)%20%3E%20(property)%20status%20%2B%20(resource)%20ssl.certificate_packs%20%3E%20(model)%20status%20%3E%20(schema)%20%3E%20(member)%2011">Link to this property</a>

"deployment\_timed\_out"

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)%20%3E%20(property)%20status%20%2B%20(resource)%20ssl.certificate_packs%20%3E%20(model)%20status%20%3E%20(schema)%20%3E%20(member)%2012">Link to this property</a>

"deletion\_timed\_out"

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)%20%3E%20(property)%20status%20%2B%20(resource)%20ssl.certificate_packs%20%3E%20(model)%20status%20%3E%20(schema)%20%3E%20(member)%2013">Link to this property</a>

"pending\_cleanup"

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)%20%3E%20(property)%20status%20%2B%20(resource)%20ssl.certificate_packs%20%3E%20(model)%20status%20%3E%20(schema)%20%3E%20(member)%2014">Link to this property</a>

"staging\_deployment"

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)%20%3E%20(property)%20status%20%2B%20(resource)%20ssl.certificate_packs%20%3E%20(model)%20status%20%3E%20(schema)%20%3E%20(member)%2015">Link to this property</a>

"staging\_active"

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)%20%3E%20(property)%20status%20%2B%20(resource)%20ssl.certificate_packs%20%3E%20(model)%20status%20%3E%20(schema)%20%3E%20(member)%2016">Link to this property</a>

"deactivating"

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)%20%3E%20(property)%20status%20%2B%20(resource)%20ssl.certificate_packs%20%3E%20(model)%20status%20%3E%20(schema)%20%3E%20(member)%2017">Link to this property</a>

"inactive"

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)%20%3E%20(property)%20status%20%2B%20(resource)%20ssl.certificate_packs%20%3E%20(model)%20status%20%3E%20(schema)%20%3E%20(member)%2018">Link to this property</a>

"backup\_issued"

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)%20%3E%20(property)%20status%20%2B%20(resource)%20ssl.certificate_packs%20%3E%20(model)%20status%20%3E%20(schema)%20%3E%20(member)%2019">Link to this property</a>

"holding\_deployment"

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)%20%3E%20(property)%20status%20%2B%20(resource)%20ssl.certificate_packs%20%3E%20(model)%20status%20%3E%20(schema)%20%3E%20(member)%2020">Link to this property</a>

</details>

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)%20%3E%20(property)%20status">Link to this property</a>

<details>

<summary>

type: Literal\["mh\_custom", "managed\_hostname", "sni\_custom", 5 more]

Type of certificate pack.

</summary>

One of the following:

"mh\_custom"

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)%20%3E%20(property)%20type%20%3E%20(member)%200">Link to this property</a>

"managed\_hostname"

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)%20%3E%20(property)%20type%20%3E%20(member)%201">Link to this property</a>

"sni\_custom"

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)%20%3E%20(property)%20type%20%3E%20(member)%202">Link to this property</a>

"universal"

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)%20%3E%20(property)%20type%20%3E%20(member)%203">Link to this property</a>

"advanced"

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)%20%3E%20(property)%20type%20%3E%20(member)%204">Link to this property</a>

"total\_tls"

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)%20%3E%20(property)%20type%20%3E%20(member)%205">Link to this property</a>

"keyless"

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)%20%3E%20(property)%20type%20%3E%20(member)%206">Link to this property</a>

"legacy\_custom"

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)%20%3E%20(property)%20type%20%3E%20(member)%207">Link to this property</a>

</details>

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)%20%3E%20(property)%20type">Link to this property</a>

<details>

<summary>

certificate\_authority: Optional\[Literal\["google", "lets\_encrypt", "ssl\_com"]]

Certificate Authority selected for the order. For information on any certificate authority specific details or restrictions <a href="https://developers.cloudflare.com/ssl/reference/certificate-authorities">see this page for more details</a>.

</summary>

One of the following:

"google"

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)%20%3E%20(property)%20certificate_authority%20%3E%20(member)%200">Link to this property</a>

"lets\_encrypt"

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)%20%3E%20(property)%20certificate_authority%20%3E%20(member)%201">Link to this property</a>

"ssl\_com"

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)%20%3E%20(property)%20certificate_authority%20%3E%20(member)%202">Link to this property</a>

</details>

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)%20%3E%20(property)%20certificate_authority">Link to this property</a>

cloudflare\_branding: Optional\[bool]

Whether or not to add Cloudflare Branding for the order. This will add a subdomain of sni.cloudflaressl.com as the Common Name if set to true.

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)%20%3E%20(property)%20cloudflare_branding">Link to this property</a>

<details>

<summary>

dcv\_delegation\_records: Optional\[List\[DCVDelegationRecord]]

DCV Delegation records for domain validation.

</summary>

cname: Optional\[str]

The CNAME record hostname for DCV delegation.

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)%20%3E%20(property)%20dcv_delegation_records%20%3E%20(items)%20%3E%20(property)%20cname">Link to this property</a>

cname\_target: Optional\[str]

The CNAME record target value for DCV delegation.

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)%20%3E%20(property)%20dcv_delegation_records%20%3E%20(items)%20%3E%20(property)%20cname_target">Link to this property</a>

emails: Optional\[List\[str]]

The set of email addresses that the certificate authority (CA) will use to complete domain validation.

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)%20%3E%20(property)%20dcv_delegation_records%20%3E%20(items)%20%3E%20(property)%20emails">Link to this property</a>

http\_body: Optional\[str]

The content that the certificate authority (CA) will expect to find at the http\_url during the domain validation.

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)%20%3E%20(property)%20dcv_delegation_records%20%3E%20(items)%20%3E%20(property)%20http_body">Link to this property</a>

http\_url: Optional\[str]

The url that will be checked during domain validation.

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)%20%3E%20(property)%20dcv_delegation_records%20%3E%20(items)%20%3E%20(property)%20http_url">Link to this property</a>

status: Optional\[str]

Status of the validation record.

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)%20%3E%20(property)%20dcv_delegation_records%20%3E%20(items)%20%3E%20(property)%20status">Link to this property</a>

txt\_name: Optional\[str]

The hostname that the certificate authority (CA) will check for a TXT record during domain validation .

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)%20%3E%20(property)%20dcv_delegation_records%20%3E%20(items)%20%3E%20(property)%20txt_name">Link to this property</a>

txt\_value: Optional\[str]

The TXT record that the certificate authority (CA) will check during domain validation.

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)%20%3E%20(property)%20dcv_delegation_records%20%3E%20(items)%20%3E%20(property)%20txt_value">Link to this property</a>

</details>

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)%20%3E%20(property)%20dcv_delegation_records">Link to this property</a>

primary\_certificate: Optional\[str]

Identifier of the primary certificate in a pack.

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)%20%3E%20(property)%20primary_certificate">Link to this property</a>

<details>

<summary>

validation\_errors: Optional\[List\[ValidationError]]

Domain validation errors that have been received by the certificate authority (CA).

</summary>

message: Optional\[str]

A domain validation error.

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)%20%3E%20(property)%20validation_errors%20%3E%20(items)%20%3E%20(property)%20message">Link to this property</a>

</details>

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)%20%3E%20(property)%20validation_errors">Link to this property</a>

<details>

<summary>

validation\_method: Optional\[Literal\["txt", "http", "email"]]

Validation Method selected for the order.

</summary>

One of the following:

"txt"

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)%20%3E%20(property)%20validation_method%20%3E%20(member)%200">Link to this property</a>

"http"

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)%20%3E%20(property)%20validation_method%20%3E%20(member)%201">Link to this property</a>

"email"

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)%20%3E%20(property)%20validation_method%20%3E%20(member)%202">Link to this property</a>

</details>

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)%20%3E%20(property)%20validation_method">Link to this property</a>

<details>

<summary>

validation\_records: Optional\[List\[ValidationRecord]]

Certificates’ validation records.

</summary>

cname: Optional\[str]

The CNAME record hostname for DCV delegation.

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)%20%3E%20(property)%20validation_records%20%3E%20(items)%20%3E%20(property)%20cname">Link to this property</a>

cname\_target: Optional\[str]

The CNAME record target value for DCV delegation.

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)%20%3E%20(property)%20validation_records%20%3E%20(items)%20%3E%20(property)%20cname_target">Link to this property</a>

emails: Optional\[List\[str]]

The set of email addresses that the certificate authority (CA) will use to complete domain validation.

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)%20%3E%20(property)%20validation_records%20%3E%20(items)%20%3E%20(property)%20emails">Link to this property</a>

http\_body: Optional\[str]

The content that the certificate authority (CA) will expect to find at the http\_url during the domain validation.

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)%20%3E%20(property)%20validation_records%20%3E%20(items)%20%3E%20(property)%20http_body">Link to this property</a>

http\_url: Optional\[str]

The url that will be checked during domain validation.

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)%20%3E%20(property)%20validation_records%20%3E%20(items)%20%3E%20(property)%20http_url">Link to this property</a>

status: Optional\[str]

Status of the validation record.

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)%20%3E%20(property)%20validation_records%20%3E%20(items)%20%3E%20(property)%20status">Link to this property</a>

txt\_name: Optional\[str]

The hostname that the certificate authority (CA) will check for a TXT record during domain validation .

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)%20%3E%20(property)%20validation_records%20%3E%20(items)%20%3E%20(property)%20txt_name">Link to this property</a>

txt\_value: Optional\[str]

The TXT record that the certificate authority (CA) will check during domain validation.

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)%20%3E%20(property)%20validation_records%20%3E%20(items)%20%3E%20(property)%20txt_value">Link to this property</a>

</details>

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)%20%3E%20(property)%20validation_records">Link to this property</a>

<details>

<summary>

validity\_days: Optional\[Literal\[14, 30, 90, 365]]

Validity Days selected for the order.

</summary>

One of the following:

14

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)%20%3E%20(property)%20validity_days%20%3E%20(member)%200">Link to this property</a>

30

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)%20%3E%20(property)%20validity_days%20%3E%20(member)%201">Link to this property</a>

90

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)%20%3E%20(property)%20validity_days%20%3E%20(member)%202">Link to this property</a>

365

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)%20%3E%20(property)%20validity_days%20%3E%20(member)%203">Link to this property</a>

</details>

<a href="#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)%20%3E%20(property)%20validity_days">Link to this property</a>

</details>

[Link to this property](<#(resource)%20ssl.certificate_packs%20%3E%20(model)%20certificate_pack_create_response%20%3E%20(schema)>)

### Order Advanced Certificate Manager Certificate Pack

Python

HTTPTypeScriptPythonGoTerraform

```
import os
from cloudflare import Cloudflare

client = Cloudflare(
    api_token=os.environ.get("CLOUDFLARE_API_TOKEN"),  # This is the default and can be omitted
)
certificate_pack = client.ssl.certificate_packs.create(
    zone_id="023e105f4ecef8ad9ca31a8372d0c353",
    certificate_authority="lets_encrypt",
    hosts=["example.com", "*.example.com", "www.example.com"],
    type="advanced",
    validation_method="txt",
    validity_days=14,
)
print(certificate_pack.id)
```

200 example

```
{
  "errors": [
    {
      "code": 1000,
      "message": "message",
      "documentation_url": "documentation_url",
      "source": {
        "pointer": "pointer"
      }
    }
  ],
  "messages": [
    {
      "code": 1000,
      "message": "message",
      "documentation_url": "documentation_url",
      "source": {
        "pointer": "pointer"
      }
    }
  ],
  "success": true,
  "result": {
    "id": "3822ff90-ea29-44df-9e55-21300bb9419b",
    "certificates": [
      {
        "id": "7e7b8deba8538af625850b7b2530034c",
        "hosts": [
          "example.com",
          "*.example.com"
        ],
        "status": "active",
        "bundle_method": "ubiquitous",
        "expires_on": "2024-01-01T00:00:00Z",
        "geo_restrictions": {
          "label": "us"
        },
        "issuer": "Let's Encrypt",
        "modified_on": "2014-01-01T05:20:00Z",
        "priority": 0,
        "signature": "ECDSAWithSHA256",
        "uploaded_on": "2014-01-01T05:20:00Z",
        "zone_id": "023e105f4ecef8ad9ca31a8372d0c353"
      }
    ],
    "hosts": [
      "example.com",
      "*.example.com",
      "www.example.com"
    ],
    "status": "initializing",
    "type": "universal",
    "certificate_authority": "lets_encrypt",
    "cloudflare_branding": false,
    "dcv_delegation_records": [
      {
        "cname": "_acme-challenge.example.com",
        "cname_target": "dcv.cloudflare.com",
        "emails": [
          "administrator@example.com",
          "webmaster@example.com"
        ],
        "http_body": "ca3-574923932a82475cb8592200f1a2a23d",
        "http_url": "http://app.example.com/.well-known/pki-validation/ca3-da12a1c25e7b48cf80408c6c1763b8a2.txt",
        "status": "pending",
        "txt_name": "_acme-challenge.app.example.com",
        "txt_value": "810b7d5f01154524b961ba0cd578acc2"
      }
    ],
    "primary_certificate": "7e7b8deba8538af625850b7b2530034c",
    "validation_errors": [
      {
        "message": "SERVFAIL looking up CAA for app.example.com"
      }
    ],
    "validation_method": "txt",
    "validation_records": [
      {
        "cname": "_acme-challenge.example.com",
        "cname_target": "dcv.cloudflare.com",
        "emails": [
          "administrator@example.com",
          "webmaster@example.com"
        ],
        "http_body": "ca3-574923932a82475cb8592200f1a2a23d",
        "http_url": "http://app.example.com/.well-known/pki-validation/ca3-da12a1c25e7b48cf80408c6c1763b8a2.txt",
        "status": "pending",
        "txt_name": "_acme-challenge.app.example.com",
        "txt_value": "810b7d5f01154524b961ba0cd578acc2"
      }
    ],
    "validity_days": 14
  }
}
```

##### Returns Examples

200 example

```
{
  "errors": [
    {
      "code": 1000,
      "message": "message",
      "documentation_url": "documentation_url",
      "source": {
        "pointer": "pointer"
      }
    }
  ],
  "messages": [
    {
      "code": 1000,
      "message": "message",
      "documentation_url": "documentation_url",
      "source": {
        "pointer": "pointer"
      }
    }
  ],
  "success": true,
  "result": {
    "id": "3822ff90-ea29-44df-9e55-21300bb9419b",
    "certificates": [
      {
        "id": "7e7b8deba8538af625850b7b2530034c",
        "hosts": [
          "example.com",
          "*.example.com"
        ],
        "status": "active",
        "bundle_method": "ubiquitous",
        "expires_on": "2024-01-01T00:00:00Z",
        "geo_restrictions": {
          "label": "us"
        },
        "issuer": "Let's Encrypt",
        "modified_on": "2014-01-01T05:20:00Z",
        "priority": 0,
        "signature": "ECDSAWithSHA256",
        "uploaded_on": "2014-01-01T05:20:00Z",
        "zone_id": "023e105f4ecef8ad9ca31a8372d0c353"
      }
    ],
    "hosts": [
      "example.com",
      "*.example.com",
      "www.example.com"
    ],
    "status": "initializing",
    "type": "universal",
    "certificate_authority": "lets_encrypt",
    "cloudflare_branding": false,
    "dcv_delegation_records": [
      {
        "cname": "_acme-challenge.example.com",
        "cname_target": "dcv.cloudflare.com",
        "emails": [
          "administrator@example.com",
          "webmaster@example.com"
        ],
        "http_body": "ca3-574923932a82475cb8592200f1a2a23d",
        "http_url": "http://app.example.com/.well-known/pki-validation/ca3-da12a1c25e7b48cf80408c6c1763b8a2.txt",
        "status": "pending",
        "txt_name": "_acme-challenge.app.example.com",
        "txt_value": "810b7d5f01154524b961ba0cd578acc2"
      }
    ],
    "primary_certificate": "7e7b8deba8538af625850b7b2530034c",
    "validation_errors": [
      {
        "message": "SERVFAIL looking up CAA for app.example.com"
      }
    ],
    "validation_method": "txt",
    "validation_records": [
      {
        "cname": "_acme-challenge.example.com",
        "cname_target": "dcv.cloudflare.com",
        "emails": [
          "administrator@example.com",
          "webmaster@example.com"
        ],
        "http_body": "ca3-574923932a82475cb8592200f1a2a23d",
        "http_url": "http://app.example.com/.well-known/pki-validation/ca3-da12a1c25e7b48cf80408c6c1763b8a2.txt",
        "status": "pending",
        "txt_name": "_acme-challenge.app.example.com",
        "txt_value": "810b7d5f01154524b961ba0cd578acc2"
      }
    ],
    "validity_days": 14
  }
}
```