Function getCertStatusByDomain

  • Download the tls certificate that is used for a domain and check its revocation status. This is a convenience function that combines downloadCert and getCertStatus.


    • domain: string

      Domain to check the certificate for (e.g. '')

    • Optional config: OCSPStatusConfig

      Provide optional additional configuration

    Returns Promise<OCSPStatusResponse>

    Revocation status of the certificate and additional information if available


    Error if the certificate could not be retrieved or the OCSP request failed


    AbortError if the request timed out

Generated using TypeDoc