You are here

function Provision_Service_Certificate::get_certificates in Aegir HTTPS 7.3

Retrieve an array containing the actual files for this https_key.

Always attempt to generate new certificates. The upstream script should recognize non-expired ones, and leave them in place. So it checks for us. We don't need to check which ones are still valid.

2 calls to Provision_Service_Certificate::get_certificates()
Provision_Service_Certificate_LetsEncrypt::get_certificates in submodules/letsencrypt/drush/Provision/Service/Certificate/LetsEncrypt.php
Retrieve an array containing the actual files for this https_key.
Provision_Service_Certificate_SelfSigned::get_certificates in submodules/self_signed/drush/Provision/Service/Certificate/SelfSigned.php
Retrieve an array containing the actual files for this https_key.
2 methods override Provision_Service_Certificate::get_certificates()
Provision_Service_Certificate_LetsEncrypt::get_certificates in submodules/letsencrypt/drush/Provision/Service/Certificate/LetsEncrypt.php
Retrieve an array containing the actual files for this https_key.
Provision_Service_Certificate_SelfSigned::get_certificates in submodules/self_signed/drush/Provision/Service/Certificate/SelfSigned.php
Retrieve an array containing the actual files for this https_key.

File

submodules/certificate/drush/Provision/Service/Certificate.php, line 39

Class

Provision_Service_Certificate
The service type base class.

Code

function get_certificates($https_key) {
  $this
    ->generate_certificates($https_key);
  return $this
    ->get_certificate_paths($https_key);
}