Method Standards.X509.get_letsencrypt_cert()
- Method
get_letsencrypt_cert
arrayget_letsencrypt_cert(stringhost)- Description
Read and decode certificate chain for the given
hostfrom the letsencrypt directory (/etc/letsencrypt/live/{host}/). Note that the process has to have read privileges for the directory.The resulting array can be used directly as input to the SSL.Context()->add_cert() method.
- Returns
Array Crypto.Sign.State0A signing object using the private key.
array(string)1An array of DER encoded certificates representing the certificate chain.