Open IIS(Internet Information Services)
- On the Start menu, click All Programs, click Accessories, and then click Run.
- In the Open dialog box, type inetmgr and then click OK.
See the below IIS window:
After that you can find "Server Certificate" Under IIS section from the center menu section and double click on this. You can highlighted with square border.
After double click you see below window and go to right pane under "Action" menu and click on "Create Certificate Request" (highlighted) in this screenshot.
Enter the Distinguished Name information in the Distinguished Name Properties window.
Click on Next button.
In the "Cryptographic Service Prover Properties" window, select cryptographic service provider "Microsoft RSA SChannel Cryptographic Provider" from dropdown list and select "Bit length" "2048" from dropdown list and click on Next button.
Enter the location and file of CSR or Choose location using browse button near textbox. After click on FINISH button
You can find CSR txt file in your exact location and open the file and you can see CSR code between ----CERTIFICATE REQUEST---- and ----END CERTIFICATE REQUEST.