Generating a CSR on Windows
Use the Microsoft Management Console (MMC) certificate snap-in to generate a Certificate Signing Request (CSR) on Windows.
Prerequisites
- Access to Microsoft Windows.
- Permission to open MMC and manage certificates.
Generating the CSR
- Click Start.
- Search for
mmc. - Open File > Add/Remove Snap-in.
- Select Certificates.
- Click Add.
- Select Computer account.
- Click Next.
- Select Local computer.
- Click Finish.
- Click OK in the Add/Remove Snap-in window.
- Save the console settings for future use.
- In the MMC snap-in, right-click Personal.
- Select All Tasks > Advanced Operations > Create Custom Request.
- In the CSR generation wizard, click Next.
- Select Proceed without enrollment policy.
- Click Next.
- At the PKCS #10 window, click Next.
- Open Details.
- Click Properties.
- Enter a friendly name.
- Open the Subject tab.
- Add the required distinguished name values.
| Field | Meaning | Example |
|---|---|---|
| CN | Common Name that the certificate secures. | *.OrganizationName.sa |
| O | Registered organization name. | Saudi Information Technology Company |
| S | State or province. Do not abbreviate. | Riyadh |
| L | Locality or city. | Riyadh |
| C | Two-letter ISO country code. | SA |
- Open the Private Key tab.
- Open Key options.
- Select key size
2048. - Select Make private key exportable.
- Click OK.
- Select hash algorithm
sha256. - Click OK.
- Click Next.
- Click Browse.
- Select where to save the CSR file.
- Enter a file name.
- Click Save.
- Click Finish.
Next Steps
Use the generated CSR file to request a Code Signing or Client (S/MIME) certificate.