Solved

Error enabling exchange certificate for IIS service

Posted on 2008-10-27
3
5,374 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
Comment Utility
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
Comment Utility
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
Comment Utility
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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
Local Continuous Replication is a cost effective and quick way of backing up Exchange server data. The following article describes the steps required to configure Local Continuous Replication. Also, the article tells you how to restore from a backup…
In this video we show how to create a Contact 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 Recipients >> Contact ta…
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…

763 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

9 Experts available now in Live!

Get 1:1 Help Now