Windows: Generate CSR for code or driver signing certificate
To request a code signing certificate or a Windows driver signing certificate, you have to provide us a certificate signing request (CSR) generated by the machine you use to sign the code. We'll use the information in this file to validate your request and provide the information to anyone downloading your code or driver.
If you're using Windows 7 or newer you can generate the CSR through Microsoft Management Console (
It's important that you generate the CSR from your local machine and not from the web server you're using to host the file.
Add certificates snap-in to MMC
- In your Windows search feature, enter mmc, and then click it to launch the Microsoft Management Console application.
- From File, click Add/Remove Snap-in.
- Click Certificates and then click Add.
- Select Computer account, and then click Next.
- Select Local computer, and then click Finish.
- Haz clic en Aceptar.
Generate CSR & private key
- In MMC, expand Certificates (Local Computer) and then Personal.
- Right-click Certificates, and then go to the following menus: All Tasks > Advanced Operations > Create Custom Request.
- Haz clic en Siguiente.
- Click Active Directory Enrollment Policy.
- From Template, click Web Server.
- Ensure the Request format is PKCS #10, and then click Next.
- Click the downward-facing arrow next to Details, and then click Properties.
- From the Type menu, select the following values, enter the corresponding Value, and then click Add:
Tipo Value Nombre común Your business or organization's name Organización Your business or organization's name Localidad Your business or organization's address Estado The state where your business or organization resides País The country where your business or organization resides
- Click the General tab, and then enter a Friendly name you can use to refer to the certificate.
- Go to the Private Key tab, click Key type, and then select Make private key exportable.
- Haz clic en Aceptar y luego haz clic en Siguiente.
- Browse for the location where you want to save the file, enter a File Name, and then click Finish.
Your CSR is now stored in the file you saved it to on your local machine.
This process also creates a private key, which you will need to use later to create a
PFX file to sign your code or driver.
- Open the CSR file in Notepad, and then use it to request your SSL certificate.