How to Generate a CSR using Microsoft IIS 7.x and 8.x
- Click Start.
- Select Administrative Tools.
- Start Internet Services Manager.
- Click Server Name.
- From the center menu, double-click the "Server Certificates" button in the "Security" section.
- Select "Actions" menu (on the right), click on "Create Certificate Request."
This will open the Request Certificate wizard.
- In the "Distinguished Name Properties" window, enter the information as follows:
The Common Name field should be the Fully Qualified Domain Name (FQDN) or the web address for which you plan to use your IIS SSL Certificate. You will need to insure that the common name submitted in the CSR is the correct domain name / FQDN that you intend to use the certificate for. For wildcard SSL certificates the common name should contain at least one asterisks (*) e.g. *.mydomain.co.za,*.yourdomain.com,etc
- Enter Organisation and Organisation Unit, these are your company name and department respectively.
- Enter your City/locality, State/province and Country/region.
- Click Next.
- In the "Cryptographic Service Provider Properties" window, Leave Cryptographic Service provider Default (Microsoft RSA SChannel Cryptographic Provider) Change the Bit Length to (2048) then Click Next.
- Enter a filename and location to save your CSR. You will need this CSR to enroll for your IIS SSL Certificate.
- Click Finish.
Your new CSR is now contained within the file c:\certreq.txt
When you make your application, make sure you include the CSR in its entirety into the appropriate section of the enrollment form - including
-----BEGIN CERTIFICATE REQUEST-----to-----END CERTIFICATE REQUEST-----
- Click Next
- Confirm your details in the enrollment form