PHP Class Pantheon\Terminus\Commands\HTTPS\SetCommand

Inheritance: extends Pantheon\Terminus\Commands\TerminusCommand, implements Pantheon\Terminus\Site\SiteAwareInterface, use trait Pantheon\Terminus\Site\SiteAwareTrait
Exibir arquivo Open project: pantheon-systems/terminus

Public Methods

Method Description
set ( string $site_env, string $certificate, string $private_key, $options = ['intermediate-certificate' => null] ) Add or replace an HTTPS certificate on an environment

Method Details

set() public method

Add or replace an HTTPS certificate on an environment
public set ( string $site_env, string $certificate, string $private_key, $options = ['intermediate-certificate' => null] )
$site_env string Site and environment in the form `site-name.env`.
$certificate string A file containing the ssl certificate
$private_key string A file containing the private key