Letsencrypt

Auxiliary support components to letsencrypt functions Class Module_Support_Letsencrypt
extends Module\Skeleton\Standard

Known subclasses

Letsencrypt_Module
Methods Summary
public
# serverBootstrapped( bool $verify_peer = true )
Let's Encrypt configured and present for server via internal subrequest
protected
# getAcmeClientDirectory( )
Get base directory of acme-client implementation
protected
protected
# acmeSiteStorageDirectory( string $host )
ACME host-specific storage directory
protected
# acmeDataDirectory( )
ACME storage Directory for all certificates
protected
# acmeDirectory( )
ACME home directory
protected
# canonicalizeServer( string $server )
Canonicalize server name to filesystem-compatible name
protected
# certificateIssued( $account = NULL )
protected
# _renew( $site , $x509 )
protected
# _renewSystemCertificate( object $x509 )
Renew already-issued server cert
protected
# requestReal( array $domains , $site , bool $strict = false )
Perform Let's Encrypt acme request
protected
# isReachable( $domain )
Verify if the domain is accessible via a HTTP request
abstract protected
# _exec( $cmd , array $args )
protected
# installSystemCertificate( )
Install system certificate after request
protected
# getSanFromCertificate( string $cert = NULL )
Get domains embedded in certificate
protected
# getCertificateComponentData( $site )
Get raw certificate components
protected
# systemNeedsIssuance( )
System certificate needs issuance
Methods inherited from Module\Skeleton\Standard
__construct(), setUserParameters(), autoloadModule(), __wakeup(), setSessionId(), _invoke(), __debugInfo(), getExportedFunctions(), _reset(), _resetModule(), cleanUserParameters(), getServices(), getNewServices(), getActiveServices(), getConfig(), getServiceValue(), setConfigJournal(), setConfig(), query()
Constants Summary
public int MAX_EXPIRY_DAYS
# 10
public int MIN_EXPIRY_DAYS
# 0
public string ACME_WORKDIR

# '/tmp/acme'
public string ACME_URI_PREFIX

# '/.well-known'
public string SYSTEM_CERT_PATH

# '/etc/pki/tls/certs'
public string ACME_CERTIFICATE_BASE
# '/storage/certificates'
public string SYSCERT_NAME
# 'MAIN'
public string SKIP_IP_PREFERENCE
# 'letsencrypt.verifyip'
Constants inherited from Module\Skeleton\Standard
DEPENDENCY_MAP
Properties Summary
protected $acmeClientDirectory
# NULL
Properties inherited from Module\Skeleton\Standard
$exportedFunctions, $username, $password, $domain, $user_id, $group_id, $permission_level, $session_id, $site, $site_id, $pgsql, $mysql