Maximo API Client - v0.9.01
    Preparing search index...

    Class CertificateExtractor

    Utility class for extracting SSL certificates from servers

    Index

    Methods

    • Extracts the full certificate chain from a server

      Parameters

      • hostname: string

        Server hostname

      • port: number = 443

        Server port (default: 443)

      Returns Promise<CertificateChain>

      Promise resolving to certificate chain

    • Saves certificate chain to file

      Parameters

      • certChain: CertificateChain

        Certificate chain to save

      • filePath: string

        Path to save the bundle

      Returns void

    Constructors