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

    Function winCertIsInstalled

    • Uses Powershell to check if a cert is already installed to the local machine's trusted root store. Uses the subject of the cert in order to avoid false negatives from regenerating the same self-signed cert with the same subject but different thumbprint. Note that this method is geared towards use with certs generated with the generateCertWithOpenSsl function, so this may not work using subject if your subject is not precisely "CN=<url>".

      Parameters

      Returns Promise<boolean>

      true if the cert is already installed, false otherwise.