How to create self-signed SSL certificate for IIS8

Damir Dobric Posts

Next talks:

 

    

Follow me on Twitter: #ddobric



 

 

Archives

Following command creates the self-signed certificate which can be used for web server and SSL:

makecert -r -pe -n "CN=YOURHOSTNAME" -b 01/01/2012 -e 01/01/2036 -eku 1.3.6.1.5.5.7.3.1 -ss my -sr localMachine -sky exchange -sp "Microsoft RSA SChannel Cryptographic Provider" -sy 12


The certificate is automatically placed in LocalComputer store personal certificates.

For example, for hostname “servicehost” the command shown above would create following certificate.

In IIS8

image

 

In MMC:

image

In Browser:

image


Posted Sep 26 2012, 01:17 PM by Damir Dobric

Comments

IIS 8: ?????????????????????????? ???????????????????? | Alex White info portal wrote IIS 8: ?????????????????????????? ???????????????????? | Alex White info portal
on 10-01-2012 13:52

Pingback from  IIS 8: ?????????????????????????? ???????????????????? | Alex White info portal

http://www.vilago21.com/event/Standout+Dresses+pertaining+to+Outside+Occasions/1629659/profile wrote re: How to create self-signed SSL certificate for IIS8
on 11-07-2012 1:42

Thanks, I¡¯ve been searching for info about this subject matter for ages and yours is the best I have found so far.

developers.de is a .Net Community Blog powered by daenet GmbH.