Blog

Generate a CSR on Windows Server 2012 or 2008 for a SSL Certificate

Need to generate a certificate signing request (CSR) for a commercial SSL, like one purchased from GoDaddy, Namecheap, or another external SSL provider? Read below to generate the correct CSR on a system running Windows Server.

How to Generate a CSR on Windows Server 2012 R2

Navigate to Start > Run and run mmc.exe. In the console, go to File > Add/Remove Snap-in… 

Screen Shot 2015-08-25 at 7.02.57 PM

In the left pane, select Certificates and Add > to the right pane. Choose to always manage Computer account. Click OK.

Screen Shot 2015-08-25 at 7.03.29 PM

Expand the Certificates tree and Right click Personal > All Tasks > Advanced Options > Create Custom Request…

Screen Shot 2015-08-25 at 7.04.07 PM

Follow the first few prompts, entering any information requested. Choose (No template) Legacy key when prompted and ensure the Request format is set to PKCS #10.

Screen Shot 2015-08-25 at 7.04.43 PM

On the next pane, click Details and then Properties.

Screen Shot 2015-08-25 at 7.06.13 PM

In the General tab, Enter a nickname and description for your certificate.

Screen Shot 2015-08-25 at 7.06.56 PM

In the Subject tab, add the following properties with values filled in for the domain name you want to secure with SSL: Common Name, Organization, Organizational Unit, Locality, Country

Note: Locality must be a full name (e.g. “California”), and Country must be a 2-letter country code (e.g. “US”).

Screen Shot 2015-08-25 at 7.08.41 PM

In the Extensions tab, add Server Authentication and Code Signing to the right-side pane.

Screen Shot 2015-08-25 at 7.09.46 PM

In the Private Key tab, expand the Key options section, choose Key size: 2048 and tick Make private key exportable.

Screen Shot 2015-08-25 at 7.10.33 PM

Finally, choose a location to save your CSR. Click Finish to generate the request and save the file.

Screen Shot 2015-08-25 at 7.11.12 PM

You can now copy the text in C:\cert.csr to your SSL provider to begin the SSL signing process.

This guide applies to:

  • Windows Server 2012 R2
  • Windows Server 2008 R2
This entry was posted in Guides & How To's, Security, Tech Support, Windows Server, Windows VPS and tagged , , , , , . Bookmark the permalink. Trackbacks are closed, but you can post a comment.



Questions? We're here to help.