PHP Class Cloudflare\Zone\KeylessSSL

Keyless SSL for a Zone
Author: James Bell ([email protected])
Inheritance: extends CloudFlare\Api
Show file Open project: jamesryanbell/cloudflare

Public Methods

Method Description
certificates ( string $zone_identifier ) List Keyless SSLs (permission needed: #ssl:read)
create ( string $zone_identifier, string $host, integer $port, string $name, string $certificate, string | null $bundle_method = null ) Create a Keyless SSL configuration (permission needed: #ssl:edit)
delete_ssl ( string $zone_identifier, string $identifier ) Delete an SSL certificate (permission needed: #ssl:edit)
details ( string $zone_identifier, string $identifier ) Keyless SSL details (permission needed: #ssl:read)
update ( string $zone_identifier, string $identifier, string $host, string $name, integer $port, boolean | null $enabled = null ) Update SSL configuration (permission needed: #ssl:edit)

Method Details

certificates() public method

List Keyless SSLs (permission needed: #ssl:read)
public certificates ( string $zone_identifier )
$zone_identifier string API item identifier tag

create() public method

Create a Keyless SSL configuration (permission needed: #ssl:edit)
public create ( string $zone_identifier, string $host, integer $port, string $name, string $certificate, string | null $bundle_method = null )
$zone_identifier string API item identifier tag
$host string The keyless SSL host
$port integer The keyless SSL port used to commmunicate between CloudFlare and the client's Keyless SSL server
$name string The keyless SSL name
$certificate string The zone's SSL certificate or SSL certificate and intermediate(s)
$bundle_method string | null A ubiquitous bundle is a bundle that has a higher probability of being verified everywhere, even by clients using outdated or unusual trust stores. An optimal bundle is a bundle with the shortest chain and newest intermediates. A forced method attempt to use the certificate/chain as defined by the input

delete_ssl() public method

Delete an SSL certificate (permission needed: #ssl:edit)
public delete_ssl ( string $zone_identifier, string $identifier )
$zone_identifier string API item identifier tag
$identifier string

details() public method

Keyless SSL details (permission needed: #ssl:read)
public details ( string $zone_identifier, string $identifier )
$zone_identifier string API item identifier tag
$identifier string

update() public method

Update SSL configuration (permission needed: #ssl:edit)
public update ( string $zone_identifier, string $identifier, string $host, string $name, integer $port, boolean | null $enabled = null )
$zone_identifier string API item identifier tag
$identifier string
$host string The keyless SSL hostname
$name string The keyless SSL name
$port integer The keyless SSL port used to commmunicate between CloudFlare and the client's Keyless SSL server
$enabled boolean | null Whether or not the Keyless SSL is on or off