How to Convert a CER Certificate to PFX Without the Private Key?
The procedure is quite simple. You can convert a CER certificate to PFX without the private key in three simple steps. But, this process will require the machine on which you have created the CSR (Certificate Signing Request) Because the private key had been created during the CRS creation process. We are just using the previously create private key to convert the CER certificate to PFX. Bear in mind, this process will work only on Windows platform.
- Import the certificate chain to their respective stores.
- Open the certificate snap-in in the Windows MMC console.
- Export the certificate in .pfx from the MMC console.
How to Convert a CER Certificate to PFX Without the Private Key?
- Import the certificate to its personal certificate store
Right-click on the certificate file.
Select install certificate. - Select Local Computer radio button
- Select the default automatic store to import the certificate
- Import the certificate
Click Finish button to complete the import process.
- Import process complete.
Wait for a while until you see a successful message.
- Open MMC in Windows server
Hit Win + R to open the Run utility
Type mmc in the box.
Press Ok. - Add Certificate Snap-in
Go to File > Add/Remove Snap-in..
- Select Certificates and press Add
- Select the User or Computer Certificate snap-in
Select the snap-in which you want to create the certificate. For demonstration we are choosing Compute account.
Click Next. - Select Local Computer
Select local computer as you are going to create CSR on the same computer.
Click Finish. - Select Certificate (Local Computer) and click Ok
- Load MMC
You will see the certificate in the personal store.
- Export the Certificate
Right Click on the Certificate
Select All Tasks -> Export
- Certificate Export Wizard
Click Next in the Certificate Export Wizard
- Export the Private Key
Select the radio button ‘yes, export the private key’
Click Next - Export pfx certificate
Select PFX radio button.
Three options are available to select during the export. Select the one which you need.
Click Next - Select Security options to export the pfx certificate.
(Optional) Select the Group or user name of your choice if you want to set the permissions to manage the certificate.
Select a password and enter the password to encrypt the certificate.
Note: It is mandated to select the password. It is recommended to secure the private key. - Provide the location to save the pfx Certificate.
Browse the location where you want to save the pfx certificate
Click Next - Finish to export the pfx certificate