Solved

Error enabling exchange certificate for IIS service

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

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Marketers need statistics and metrics like everybody else needs oxygen. In this article we explain how to enable marketing campaign statistics for Microsoft Exchange mail.
Find out what you should include to make the best professional email signature for your organization.
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…
A simple description of email encryption using a secure portal service. This is one of the choices offered by The Email Laundry for email encryption. The other choices are pdf encryption which creates an encrypted pdf of your email and any attachmen…

911 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

24 Experts available now in Live!

Get 1:1 Help Now