I have submitted a certificate request to my windows standalone-Certification Authority(CA). I already issued the certificate by approving the pending request, but I don't know how to export the .cer file from the CA.
2 Answers
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.
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
.
-
Anyone knows some way to achieve it in Powershell?
certutil -view
is not useful for it.– JamesAug 1, 2019 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. powershellgallery.com/packages/PSPKI/3.2.7.0 sysadmins.lv/projects/pspki/default.aspx Aug 1, 2019 at 23:33
-
Thanks for the link. I didn't found it in my previous research and it will help.– JamesAug 2, 2019 at 18:09
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:
Then you will see below step in the wizard which gives you the option of saving the *.cer
file on disk: