C:\Program Files\IIS Resources\SelfSSL>selfssl /N:CN=mydomain.com /S:150311073 /V:365where 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.
C#, .Net, MVC, jQuery, JavaScript, HTML, CSS, Umbraco, Phonegap / Cordova, Xamarin, iPhone, iOS, Swift, Android, Windows, apps, websites, Full Stack, ecommerce, Facebook, responsive, front-end. Freelance developer, programmer for web and mobile in Bristol, UK.
C:\Program Files\IIS Resources\SelfSSL>selfssl /N:CN=mydomain.com /S:150311073 /V:365where S is the site ID and V is the validity in days. Be sure to be running command prompt as Admin.