• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 6177
  • Last Modified:

Error enabling exchange certificate for IIS service

I have been having major problems getting an SSL certificate installed on my Exchange 2007 server.  I have successfully installed a test, 90 day trial certificate from comodo and tested external OWA and Activesync with my mobile devices.  However, since I also need internal DNS resolution, I purchased a UCC certificate.  Now I can't seem to enable the certifcate in Exchange.  I can enable it just fine for the services: POP, IMAP, and SMTP, however the service that I really need it for (IIS) returns an error.

When I enter this command in the managment shell:
Enable-ExchangeCertificate -thumbprint <thumbprint> -service IIS

I get this error:
Enable-ExchangeCertificate : An unexpected error occurred while the forms-based authentication settings for path /LM/W3SVC/1 were being modified.  The error returned was 5506.  At Line:1 char:27

I have contacted support at comodo, and searched EVERYWHERE online with no luck.  I'm pretty sure it has something to do with one of my IIS7 virtual directories, but I cannot find the solution to this one.  Any help would be GREATLY appreciated.
0
Jake Pratt
Asked:
Jake Pratt
  • 2
1 Solution
 
Pret0rianCommented:
Hi,

Hav you tried to remove the certificate completly. And then import it again and so Enable it?

If that dosent work.....maybe re-isstall IIS

Remi
0
 
Jake PrattAuthor Commented:
I have tried that several times, and not only restarting IIS, but rebooting the entire server.  No luck.  It still does this on all certificates.
0
 
Jake PrattAuthor Commented:
Ok, I figured out why I was getting this message and fixed it.  All I had to do was go into IIS, and go to the bindings for my default website, and edit the 443 binding to use the certificate in question.  I didn't even need to re-enable it in the management shell after that.
0

Featured Post

Problems using Powershell and Active Directory?

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

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now