Included Certificate Functions

Mwnci openssl certificate functions are not part of the builtin functions. They can be loaded with:

include("certs")

Functions

Command Definition
certexpiredays() Returns an integer representing the amount of days left before the certificate expires.
certsans() Returns a list of all domains covered by the certificate.
certtojson() Returns a hash of certificate details.
extractcert() Returns an array of encoded certificates strings.
readsitecert() Returns an array of the encrypted certificate from the given domain
readsitechain() Returns an array of the encrypted certificate chain from the given domain.
sitecertexp() Returns an integer representing the amount of days left before the certificate expires for the given domain.
sitecertsans() Returns a list of all domains covered by the certificate for the given domin.