Module_Support_Letsencrypt

Copyright (C) Apis Networks, Inc - All Rights Reserved. Unauthorized copying of this file, via any medium, is strictly prohibited without consent. Any dissemination of material herein is prohibited. For licensing inquiries email <licensing@apisnetworks.com> Written by Matt Saladna <matt@apisnetworks.com>, May 2017
extends Module\Skeleton\Standard

Known subclasses

Letsencrypt_Module
Abstract
Open source code
Methods Summary
public
# serverBootstrapped( bool $verify_peer = true )
Let's Encrypt configured and present for server via internal subrequest
protected
# canonicalizeServer( string $server )
Canonicalize server name to filesystem-compatible name
protected
# acmeDirectory( )
ACME home directory
protected
# acmeDataDirectory( )
ACME storage Directory for all certificates
protected
# acmeSiteStorageDirectory( string $host )
ACME host-specific storage directory
protected
# getAcmeClientDirectory( )
Get base directory of acme-client implementation
protected
protected
# getSanFromCertificate( )
Get domains embedded in certificate
protected
# certificateIssued( $account = NULL )
protected
# _renew( $site , $x509 )
protected
# _renewSystemCertificate( object $x509 )
Renew already-issued server cert
protected
# installSystemCertificate( )
Install system certificate after request
protected
# getCertificateComponentData( $site )
Get raw certificate components
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 )
Methods inherited from Module\Skeleton\Standard
__construct(), __wakeup(), autoloadModule(), setUserParameters(), cleanUserParameters(), setSessionId(), _invoke(), __debugInfo(), getExportedFunctions(), _reset(), getServices(), getNewServices(), getActiveServices(), getConfig(), getServiceValue(), setConfigJournal(), setConfig(), query(), _resetModule()
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