@mikeyt23/node-cli-utils
    Preparing search index...

    Function generateCertWithOpenSsl

    • Wrapper function for calling openssl to generate a self-signed cert to be used for developing a local website with trusted https.

      Parameters

      • url: string

        The url to generate a cert for. This will be used as the common name (CN) in the cert as well as the filename for the generated cert files.

      • Optionaloptions: Partial<GenerateCertOptions>

        Options for generating the cert.

      Returns Promise<string>

      The path to the generated pfx file.