This blog shows you how to use Netsh tool to create mapping between address and a port to the certificate in the machine. For example, map localhost certificate to IP Address 0.0.0.0 Port 8888.
1. Use the instructions here to create MMC snap in to show certificates.
2. Open MMC (windows key > type MMC > Open myCertificates file your created earlier > under Console Root > Certificates (Local Computer) > Personal > Certificates > double click localhost > select Details tab > select Thumbprint > copy and paste it in a notepad you will need this later.
3. Right click ConsoleHost, select Properties, Click on Assembly information... button > Copy GUID > paste it in the notepad
4. Open Command prompt as administrator (Windows key > type cmd > right click on Command Prompt > Run as Administrator)
5. Type netsh http add sslcert ipport=0.0.0.0:8888 certhash=<type the thumbprint you copied from the cert here> appid={<copy the GUID you copied from the assembly information here>}
1. Use the instructions here to create MMC snap in to show certificates.
2. Open MMC (windows key > type MMC > Open myCertificates file your created earlier > under Console Root > Certificates (Local Computer) > Personal > Certificates > double click localhost > select Details tab > select Thumbprint > copy and paste it in a notepad you will need this later.
3. Right click ConsoleHost, select Properties, Click on Assembly information... button > Copy GUID > paste it in the notepad
4. Open Command prompt as administrator (Windows key > type cmd > right click on Command Prompt > Run as Administrator)
5. Type netsh http add sslcert ipport=0.0.0.0:8888 certhash=<type the thumbprint you copied from the cert here> appid={<copy the GUID you copied from the assembly information here>}
Comments
Post a Comment