Wednesday, 2 June 2010

Self signing an SSL certificate with selfSSL

I use self signing for internal and development sites quite frequently, but just as frequently I forget how to do it. Now I shalt never forget.
C:\Program Files\IIS Resources\SelfSSL>selfssl /N:CN=mydomain.com /S:150311073 /V:365
where S is the site ID and V is the validity in days. Be sure to be running command prompt as Admin.

Here's a most excellent post about how to do it in IIS7.