Solved

Error enabling exchange certificate for IIS service

Posted on 2008-10-27
3
5,544 Views
Last Modified: 2012-05-05
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
Comment
Question by:Jake Pratt
  • 2
3 Comments
 
LVL 6

Expert Comment

by:Pret0rian
ID: 22819962
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
 

Author Comment

by:Jake Pratt
ID: 22822281
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
 

Accepted Solution

by:
Jake Pratt earned 0 total points
ID: 22825539
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

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

In 2017, ransomware will become so virulent and widespread that if you aren’t a victim yourself, you will know someone who is.
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

813 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

16 Experts available now in Live!

Get 1:1 Help Now