Letsencrypt_Module

Let's Encrypt integration utilities
extends Module\Support\Letsencrypt implements Opcenter\Contracts\Hookable
Methods Summary
public
# __construct( )
{{{ void __construct(void)

ignore


Overrides

public
# supported( )
Let's Encrypt is supported on this platform
public
# permitted( )
Client may generate a LE certificate
public
# debug( )
Let's Encrypt issues bogus certificates
public
# renew( bool $verifyip = NULL )
Renew Let's Encrypt SSL
public
# renew_expiring( )
Renew all expiring certificates
public
# challenges( $hostnames )
Get ACME challenges associated with hostnames "payload" must be converted to sha256 hash when entering as a TXT record
public
# solve( string|array $hostname , string $solver = NULL )
Solve pending challenges
public
# request( array|string $cnames , bool $verifyip = NULL, bool $strict = NULL )
Request a Let's Encrypt certificate for the given common names Because there is no unreasonable limit on SANs, a www and non-www variant for each CN will be generated
public
# is_ca( string $crt )
Certificate is generated by LE
public
# append( $cnames , bool $verifyip = NULL )
Append hostnames to request in non-destructive manner
public
# revoke( )
Invalidate issued certificate
public
# exists( )
public
# storage_path( string $site )
Retrieve absolute storage path for site certificate
public
# bootstrap( int $attempt = NULL )
Request a SSL certificate for all domains on the account bootstrap verifies IP address before attempt
public
public
public
public
# _verify_conf( Opcenter\Service\ConfigurationContext $ctx )
public
public
public
public
# _edit_user( string $userold , string $usernew , array $oldpwd )
Methods inherited from Module\Support\Letsencrypt
renewExpiringCertificates(), acmeSiteStorageDirectory(), certificateIssued(), _renew(), _renewSystemCertificate(), requestReal(), filterDomainSet(), isReachable(), installSystemCertificate(), getSanFromCertificate(), systemNeedsIssuance(), filterMissingHostnames()
Methods inherited from Module\Skeleton\Standard
__construct(), setUserParameters(), autoloadModule(), __wakeup(), _invoke(), __debugInfo(), getExportedFunctions(), _reset(), _resetModule(), cleanUserParameters(), query()
Constants Summary
public array DEPENDENCY_MAP
# array ( 0 => 'ssl', )
public int BOOTSTRAP_ATTEMPTS
# 3
public string LETSENCRYPT_SERVER
# 'acme-v02.api.letsencrypt.org/directory'
public string LETSENCRYPT_TESTING_SERVER
# 'acme-staging-v02.api.letsencrypt.org/directory'
protected string LE_AUTHORITY_FINGERPRINT
# 'A8:4A:6A:63:04:7D:DD:BA:E6:D1:39:B7:A6:45:65:EF:F3:A8:EC:A1'
protected string LE_STAGING_AUTHORITY_FINGERPRINT
# 'C0:CC:03:46:B9:58:20:CC:5C:72:70:F3:E1:2E:CB:20:A6:F5:68:3A'
public boolean INCLUDE_ALT_FORM
# false
public int DNS_VERIFY_IP_TIMEOUT
# 1500
Constants inherited from Module\Support\Letsencrypt
ACME_WORKDIR , ACME_URI_PREFIX , ACME_CERTIFICATE_BASE , SKIP_IP_PREFERENCE
Constants inherited from Module\Skeleton\Standard
DEPENDENCY_MAP
Properties Summary
protected $activeServer

# NULL
Properties inherited from Module\Skeleton\Standard
$exportedFunctions, $username, $password, $domain, $user_id, $group_id, $permission_level, $session_id, $site, $site_id