Link to home
Start Free TrialLog in
Avatar of masdf123
masdf123

asked on

Exchange 2007 sp3 SSL Certificate

Hi,

Using Server 2003 r2, exchange 2007 sp3

I have a multi domain certificate from global sign.
I saved the file as cert.crt in c:\

After executing import-exchangecertificate -path c:\cert.crt

And then Enable-ExchangeCertificate -thumbprint [thumprint] -services "smtp,iis,pop,imap"

This didn't work as it kept saying certificate not found.

So I removed the thumbprint.

Now when I try get-exchangecertificate, I dont see any cert, except the local one.

And if I try to import the certificate again it keeps telling me thumprint already there:

Import-ExchangeCertificate : Cannot import as there already is a certificate wi
th a thumbprint of thumbprint..
At line:1 char:27
+ Import-ExchangeCertificate <<<<  -Path c:\cert.cer
    + CategoryInfo          : WriteError: (0:Int32) [Import-ExchangeCertificat
   e], ImportCertificateAlreadyExistsException
    + FullyQualifiedErrorId : 34ABAC30,Microsoft.Exchange.Management.SystemCon
   figurationTasks.ImportExchangeCertificate


Please help.
ASKER CERTIFIED SOLUTION
Avatar of endital1097
endital1097
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of masdf123
masdf123

ASKER

I am not sure how to do this exactly. I was given the certificate as text, and I copied it to cert.cer.

Now under get-exchangexcertificate that thumprint is not present.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
here is a link for creating the certificate
http://msexchangeteam.com/archive/2007/02/19/435472.aspx
Private key is there.

Should I remove the cert from there?
I removed it from there, reimported (which worked)

While enabling I get the following:

Enable-ExchangeCertificate : The certificate with thumbprint thumbprint was found but is not valid for use with Exchange Server
(reason: PrivateKeyMissing).
run the cmdlet
get-exchangecertificate | fl

grab the thumbprint from the results for your certificate
Actually that was public key.

Private key isn't under details of the certificate in mmc.

So what do I tell the cert authority?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
my csr was created with -PrivateKeyExportable:$true originally.

What should global know to create the right cert?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial