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>".
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>".