證書系列:
2:導入pfx證書
本文分享從Micrsoft Manange Console(簡寫為 MMC)中導入PFX證書的內容,您可以按住“Windows + R”,從Run對話框中輸入mmc,打開MMC界面。
一:添加管理單元(snap-in)
從File主菜單中選擇“Add/Remove Snap-in”,打開“Add or Remove Snap-ins”對話框
從左側的“Available snap-ins”列表中選擇Certificates,點擊"Add >",打開“Certificates snap-in”對話框,選擇“Computer account”:
選擇snap-in管理的機器,選擇“Local computer: (the computer this console is running on)”:
二:導入PFX證書
點擊PFX證書文件,打開"Certificate Import Wizard",選擇“Local Machine”作為Store Location
點擊Next按鈕,進入到“File to Import”對話框,File name就是PFX證書文件的存儲位置:
在Password文本框中輸入保護證書密鑰的密碼,對於“Import options”,需要注意“Mark this key as exportable. This will allow you to back up or transport your keys at a later time”,這個選項表示:“標志此密鑰為可導出密鑰。這將允許您稍后備份或傳輸密鑰”,出於安全性考慮,該選項默認是不勾選的,如果不勾選,下次從MMC導出該證書時,就無法導出pfx格式了,只能導出不包含私鑰的cer格式了。
設置證書存儲的store,選擇“Automatically select the certificate store based ont the type of certificate”:
最后檢查證書導入向導的設置,點擊Finish按鈕,完成證書的導入:
參考文檔: