4

I have submitted a certificate request to my windows standalone-CA, I already issued the certificate by approving the pending request, but I dont know ow to export the .cer file from the CA

kimo pryvt
  • 421
  • 4
  • 11
  • 22
  • Related post - [How do I view the details of a digital certificate .cer file?](https://serverfault.com/q/215606/329172) – RBT Mar 27 '19 at 09:25

2 Answers2

5

If you right click on the certificate in the Issued Certificates section of the MMC, you can select All Tasks and then Export Binary Data.

From the Columns that contain binary data: dropdown select Binary Certificate. On the Export options choose Save binary data to a file.

enter image description here

Click OK and then select a directory on the disk to save the certificate file. For the best results on a Windows system save the file with a name like cert_subject.crt.

RBT
  • 223
  • 2
  • 10
Zoredache
  • 128,755
  • 40
  • 271
  • 413
  • Anyone knows some way to achieve it in Powershell? `certutil -view` is not useful for it. – James Aug 01 '19 at 21:49
  • 1
    @James Don't know of any way using the built in Microsoft commandlets, A web search sent me to this module, that might make it possible. https://www.powershellgallery.com/packages/PSPKI/3.2.7.0 https://www.sysadmins.lv/projects/pspki/default.aspx – Zoredache Aug 01 '19 at 23:33
  • Thanks for the link. I didn't found it in my previous research and it will help. – James Aug 02 '19 at 18:09
2

Double click the certificate to open Certificate window. Go to Details tab and click Copy to File... button (Refer screenshot) to start the certificate export wizard:

enter image description here

Then you will see below step in the wizard which gives you the option of saving the *.cer file on disk:

enter image description here

RBT
  • 223
  • 2
  • 10