function Provision_Service_Certificate_LetsEncrypt::init_server in Aegir HTTPS 7.3
Initialize this class, including option handling.
File
- submodules/
letsencrypt/ drush/ Provision/ Service/ Certificate/ LetsEncrypt.php, line 12
Class
- Provision_Service_Certificate_LetsEncrypt
- A LetsEncrypt implementation of the Certificate service type.
Code
function init_server() {
parent::init_server();
/**
* Register configuration classes for the create_config / delete_config methods.
*/
$this->configs['server'][] = 'Provision_Config_LetsEncrypt';
/**
* Configurable values.
*/
$this->server
->setProperty('letsencrypt_ca', 'staging');
/**
* Non configurable values.
*/
$this->server->letsencrypt_script_path = $this->server->aegir_root . '/config/letsencrypt';
$this->server->letsencrypt_config_path = $this->server->aegir_root . '/config/letsencrypt.d';
$this->server->letsencrypt_challenge_path = $this->server->aegir_root . '/config/letsencrypt.d/well-known/acme-challenge';
}