Importing new SSL cetificate Exchange 2007

Posted on 2015-02-02
Last Modified: 2015-02-10
Hello, I'm having problems importing our new mail SSL certificate into Exchange 2007 using the PowerShell. The error I'm getting is -

The certificate with thumbprint (number here) was found but is not valid for use with Exchange Server (reason: PrivateKeyMissing).

I've scanned the web and have tried the certutil -repairstore command to no avail. The only thing that's different from last year is that GlobalSign (the certificate creator) have changed from using SHA-1 to SHA-256 as their default.

Should i try to install the EV Cross Certificate in order to try the SHA-1 certificate instead of the SHA-256 option?

Any help is greatly appreciated.
Question by:afl_it
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3

Expert Comment

by:Manoj Bojewar
ID: 40583756
Follow below steps

1) Import Certificate into IIS, Personal folder into same server where from you generated CSR.
2)IF you generated CSR from same server, Open EMC and select newly import certificate and click apply
3)If not, Please export the certificate in PFX format with Password and private key option checked.
4)Open IIS in Exchange server and Import certificate into IIS personal folder.
5)Open EMC in Exchange server and apply newly import certificate.
6)In additions to this, make sure intermediate certificate installed on Exchange server.

Author Comment

ID: 40583861
I'm afraid i don't get the option to export to .PFX, it's greyed out. See attached image.

Expert Comment

by:Manoj Bojewar
ID: 40583899
Click next- Click Browse- Save this file in PFX format and in file type select all Flies.

let me know for any issues
What Is Transaction Monitoring and who needs it?

Synthetic Transaction Monitoring that you need for the day to day, which ensures your business website keeps running optimally, and that there is no downtime to impact your customer experience.


Author Comment

ID: 40583985
Even if i click Next / Browse and manually type certname.pfx it attaches the .cer on to the end and i don't get any option to export attached keys or certificates.

Expert Comment

by:Manoj Bojewar
ID: 40584000
Remove .cer extension. just save the file in PFX format.

Attach screenshot for your reference.

Author Comment

ID: 40584018
But even if i remove the .cer extension in the Browse window it adds it again to the file on the next screen. The options to "Export Keys" and "Include all certificates in the certification path" are set to No and I can't change them.
LVL 53

Expert Comment

by:Will Szymkowski
ID: 40584210
When you initally imported the key using the pfx or cer file you need to specifically make sure that "allow private key to be exported" was checked. My guess it was probably "unchecked".

That being said you will need to find the original PFX file and make sure that "allow private key to be exported" is checked.

Take a look at the below link for additional details.


Accepted Solution

afl_it earned 0 total points
ID: 40593119
Hi all, the problem was that the original CSR hadn't been created from the server i question. I recreated it and got the certificate reissued by GlobalSign, installed the intermediate certificate through the MMC snap-in and the actual ssl cert through the exchange shell.

All is now well.....for another year anyway!!

Thanks for the help.

Author Closing Comment

ID: 40600301
I thought i'd start at the beginning and this time it worked. I'd obviously done something wrong in the first place.

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A list of top three free exchange EDB viewers that helps the user to extract a mailbox from an unmounted .edb file and get a clear preview of all emails & other items with just a single click on mailboxes.
Sometimes clients can lose connectivity with the Lotus Notes Domino Server, but there's not always an obvious answer as to why it happens.   Read this article to follow one of the first experiences I had with Lotus Notes on a client's machine, my…
To show how to create a transport rule in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Rules tab.:  To cr…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

705 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