Created
December 11, 2015 11:47
-
-
Save justinyoo/b436c6d35f218ffb4570 to your computer and use it in GitHub Desktop.
Applying Self-signed Certificate to IIS or IIS Express
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$cert = (Get-Item Cert:\LocalMachine\My\EBD8BAF41D6D7AC302692EE84699BD963AD66E42) | |
$store = (Get-Item Cert:\Localmachine\Root) | |
$flags = [System.Security.Cryptography.X509Certificates.OpenFlags]::ReadWrite | |
$store.Open($flags) | |
$store.Add($cert) | |
$store.Close() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment