Solved

Enable-Exchange certificate fails with PrivateKeyMissing error

Posted on 2008-10-17
6
18,185 Views
2 Endorsements
Last Modified: 2011-12-30
Hello all-
I received my certificates from GoDaddy this morning. Both certificates installed without issue on my Windows 2008/Exchange 2007 Client Access Server.
When I issued the "enable-exchange-certificate -thumbprint xxxxxxxxxxxxxxxxxxxxxxxx -services "IIS,IMAP,POP,SMTP" command it fails with the following:
Enable-ExchangeCertificate : The certificate with thumbprint xxxxxxxxxxxxx was found but is not for use with Exchange Server (reason: PrivateKeyMissing).
My research consistently states I need to run the certutil -repairstore my "<thumbprint>" command.
When I do, the "Insert Smart Card" window pops up. As I am not using Smart Cards, all I can do is hit "Cancel". Once I do that, the following error occurs:
================ Certificate 0 ================
Serial Number: e06648
Issuer: SERIALNUMBER=111111111, CN=Go Daddy Secure Certification Authority, OU=ht
tp://certificates.godaddy.com/repository, O=GoDaddy.com, Inc., L=Scottsdale, S=A
rizona, C=US
NotBefore: 10/17/2008 10:13 AM
NotAfter: 10/17/2009 10:13 AM
Subject: OU=Domain Control Validated, CN=abc.edu, O=test.abc.edu
Non-root Certificate
Cert Hash(sha1): xxxxxxxxxxxxxxxxxxxxxx
No key provider information
Cannot find the certificate and private key for decryption.
CertUtil: -repairstore command FAILED: 0x80090010 (-2146893808)
CertUtil: Access denied.
I'm stumped...any and all help is appreciated. I'm not particularly strong in certificates.
2
Comment
Question by:my51chevy
6 Comments
 
LVL 9

Accepted Solution

by:
abdulzis earned 350 total points
Comment Utility
Most likely you will need to get a new certificate from GoDaddy or there might be a problem with folder level permissions on the folder where the privatekey is stored.

Can you create a test self-signed certificate using the shell and assign it to IIS? Does it throw the same error? If not, request and get a new certificate from GoDaddy.
0
 
LVL 23

Assisted Solution

by:Justin Durrant
Justin Durrant earned 150 total points
Comment Utility
0
 

Author Comment

by:my51chevy
Comment Utility
Thanks Addulzis, jjdurrant..
Been offline since last night.
I have a feeling that I'll have to get a new cert..but in the meantime I'll try what jjdurrant suggests..can't hurt.
I should be able to address remotely tomorrow. Stay tuned.
0
Shouldn't all users have the same email signature?

You wouldn't let your users design their own business cards, would you? So, why do you let them design their own email signatures? Think of the damage they could be doing to your brand reputation! Choose the easy way to manage set up and add email signatures for all users.

 

Author Closing Comment

by:my51chevy
Comment Utility
I appreciated jjdurrant's input so i gave him part of the points.
0
 

Expert Comment

by:tumppi
Comment Utility
https://search.thawte.com/support/ssl-digital-certificates/index?page=answerlink&url=index%3Fpage%3Dcontent%26id%3DSO14287%26actp%3Dsearch%26viewlocale%3Den_US&answerid=16777216&searchid=1301566898439

Error: The certificate with thumbprint XXXXXXXXX was found but is not valid for use with Exchange Server (reason: PrivateKeyMissing)

Problem


Enable-ExchangeCertificate : The certificate with thumbprint XXXXXXXXX was found but is not valid for use with Exchange Server
 (reason: PrivateKeyMissing).
 At line:1 char:27
 + Enable-ExchangeCertificate -Thumbprint XXXXXXXXX -Services "IIS"


Cause


The above error can be a result of multiple reasons.
 •Certificate Signing Request (CSR) was created with IIS and attempted to be installed through the Exchange Management Shell (EMS).
•Certificate Signing Request (CSR) was created in EMS on another Exchange Server.
•A damaged certificate, or Windows simply "forgets" where it placed the PrivateKey for the certificate.
 
 

Resolution


To resolve this issue during SSL certificate installation in Exchange 2007 server. Perform the following suggested methods.

Method 1: Repair Damaged Certificate (Windows Server 2003/2008)
 
1. Open MMC as described in SO1849 and add the Certificate Snap-In for the Local Computer account.
 
2. Double-Click on the recently imported certificate.

Note: In Windows Server 2008 it will be the certificate missing the golden key beside it.
 
3. Select the Details tab.
 
4. Click on the Serial Number field and copy that string.
 
Note: You may use CTRL+C, but not right-click and copy.
 
5. Open up a command prompt session. (cmd.exe aka DOS Prompt).
 
6. Type: certutil -repairstore my "SerialNumber" (SerialNumber is that which was copied down in step 4.).

7. After running the above command, go back to the MMC and Right-Click Certificates and select Refresh (or hit F5 in the MMC).
 
8. Double-Click on the problem certificate. At the bottom of this window (General tab) it should state: "You have a private key that corresponds to this certificate."
 
Note: In Windows Server 2008 there will be a golden key to the left of the certificate, so there is no need to double-click the certificate.
 
9. Now that the Private Key is attached to the certificate, please proceed to enable Exchange Services described in SO14288.
 

Method 2: Remove and Re-Install Certificate (Windows Server 2003/2008)
 
1. Verify the certificate doesn't have it's private key.
 
In the Microsoft Management Console (MMC), described in SO1849. Double-click the recently imported certificate.

Note: In Windows Server 2008 it will be the certificate missing the golden key beside it.
 
2. Right-Click on the certificate and click Delete.
 
3. Re-install the SSL certificate as described in SO6287.

Method 1 worked for me just fine.
1
 
LVL 11

Expert Comment

by:louisreeves
Comment Utility
Very good work here. I used this and saved a half a day work waiting for godady !
0

Featured Post

Wish Marketing would stop bothering you?

Is your marketing department constantly asking for new email signature updates? Are they requesting a different design for every department? Do they need yet another banner added? Don’t let it get you down! There is an easy way to manage all of these requests...

Join & Write a Comment

This process describes the steps required to Import and Export data from and to .pst files using Exchange 2010. We can use these steps to export data from a user to a .pst file, import data back to the same or a different user, or even import data t…
Scam emails are a huge burden for many businesses. Spotting one is not always easy. Follow our tips to identify if an email you receive is a scam.
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now