在Exchange Server2007上应用申请的SSL证书时报以下错误,提示PrivateKeyMissing

At line:1 char:27

wKioL1dzL9ahR0wcAACCWyzUCXY193.png


根据提示需要先修复证书才能应用成功,查到修复证书方法如下:

Repair Damaged Certificate Store:

1) Open MMC (Microsoft Management Console) to the Certificate Manager (Certificates Snap-in) for the Local Computer account.

2) Double-Click on the recently imported certificate (It will be missing the golden key).

3) Go to the Details tab.

4) Click on the Serial Number field and copy down that number. (Leave window open)

5) Open up the command prompt (DOS Prompt — CMD.exe)

6) Type: certutil -repairstore my “SerialNumber”( SerialNumber is that what was copied down in step 4.)

7) After running the command, go back to the MMC and right-click Certificates and select “Refresh”.

8) One should now see the golden key associated with the certificate.

9) Double-check in the Exchange Power Shell with: Get-ExchangeCertificate


如图:

wKiom1dzL9fhP7XyAABylNJ4qbY468.png