CSR generation for the Internet Information Server v.7 (IIS7) should be done through Internet Services Manager using the steps below:
Click Start >> Administrative Tools.
Start Internet Information Services (IIS) Manager.
Common Name: yourdomain.com
Organization: MyCompany Ltd
Organization Unit (eg, section): IT, Support, Sales etc.
City/ Locality Name: Los Angeles
State or Province Name (full name): California
Country Name (2 letter code): US
For Wildcard SSL certificates, the common name should be specified in the format: *.yourdomain.tld.
Click Next once all fields are filled in completely.
In the Cryptographic Service Provider Properties window:
Leave Cryptographic Service provider default ("Microsoft RSA SChannel Cryptographic Provider").
Change the Bit Length to 2048.
In accordance with the Comodo (now Sectigo) Certificate Authority policy change, starting from December 20, 2010, SSL Certificates can be issued using CSR codes with 2048-bit and higher.
Specify a filename and location to save your CSR code (e.g. c:\certreq.txt).