SSL
Certificate Packs
Advanced Certificate Manager certificate packs for a zone.
Advanced Certificate Manager certificate packs for a zone.
List
List a zone's active certificate packs.
| Param | Type | Required | Default | Description |
|---|---|---|---|---|
zoneId | string | Yes | Zone Identifier. | |
params | array | No | [] | Query Parameters: `status` (`all`), `deploy` (`staging` or `production`), `page` and `per_page`. |
php
$response = $client->ssl()->certificatePacks()->list('ZONE_ID', []);
Quota
Get a zone's certificate pack quotas.
| Param | Type | Required | Default | Description |
|---|---|---|---|---|
zoneId | string | Yes | Zone Identifier. |
php
$response = $client->ssl()->certificatePacks()->quota('ZONE_ID');
Order
Order an Advanced Certificate Manager certificate pack.
hosts must include the zone apex and may not exceed 50 entries.
type is filled in as advanced, the only value Cloudflare accepts.
$client->ssl()->certificatePacks()->order('ZONE_ID', [
'certificate_authority' => 'lets_encrypt',
'hosts' => ['example.com', 'www.example.com'],
'validation_method' => 'txt',
'validity_days' => 90,
]);
| Param | Type | Required | Default | Description |
|---|---|---|---|---|
zoneId | string | Yes | Zone Identifier. | |
values | array | Yes | `certificate_authority` (`google`, `lets_encrypt` or `ssl_com`), `hosts`, `validation_method` (`txt`, `http` or `email`) and `validity_days` (`14`, `30`, `90` or `365`) are required. `cloudflare_branding` is optional, and `type` defaults to `advanced`. |
php
$response = $client->ssl()->certificatePacks()->order('ZONE_ID', []);
Get
Get a single certificate pack.
| Param | Type | Required | Default | Description |
|---|---|---|---|---|
zoneId | string | Yes | Zone Identifier. | |
certificatePackId | string | Yes | Certificate Pack Identifier. |
php
$response = $client->ssl()->certificatePacks()->get('ZONE_ID', 'CERTIFICATE_PACK_ID');
Edit
Restart validation for a certificate pack, or change its Cloudflare branding.
Sent with no values, this restarts validation — which Cloudflare only
accepts for a pack sitting in validation_timed_out. Sent with
cloudflare_branding, it updates that instead.
| Param | Type | Required | Default | Description |
|---|---|---|---|---|
zoneId | string | Yes | Zone Identifier. | |
certificatePackId | string | Yes | Certificate Pack Identifier. | |
values | array | No | [] | Optionally `cloudflare_branding`, which adds a subdomain of `sni.cloudflaressl.com` as the Common Name when true. |
php
$response = $client->ssl()->certificatePacks()->edit('ZONE_ID', 'CERTIFICATE_PACK_ID', []);
Delete
Delete an Advanced Certificate Manager certificate pack.
| Param | Type | Required | Default | Description |
|---|---|---|---|---|
zoneId | string | Yes | Zone Identifier. | |
certificatePackId | string | Yes | Certificate Pack Identifier. |
php
$response = $client->ssl()->certificatePacks()->delete('ZONE_ID', 'CERTIFICATE_PACK_ID');

