Anyone have decent "Exchange 2007 Importing an SSL Certificate from a CA" resources?
Posted on 2009-02-17
I got an SSL from a CA. I went to import it via a technet article on MS's site. I used the syntax:
import -exchangecertificate -path C:\ssl.cer
And it imported fine, then I restarted the IIS admin service on the server, tested OWA and still got the security error. I then went back to the technet article and I forgot to add the syntax to enable IIS services. So then I ran the command again with a different syntax to enable the IIS services, etc:
import-exchangecertificate -path C:\ssl.cer -friendlyna
me "Exchange" | enable-exchangecertificate -services "IIS,POP,IMAP"
And it errors out saying, it's already imported:
Import-ExchangeCertificate : Cannot import as there already is a certificate with a thumbprint of A217402AC2FE28blahblahblah3EB307372F5F87965205.
At line:1 char:27
+ import-exchangecertificate <<<< -path C:\ssl.cer -friendlyname "Exchange" |
enable-exchangecertificate -services "IIS,POP,IMAP"
So how do I rip out the current SSL cert and import using the correct command?