When administering Exchange for the first time with newer clients, we find Microsoft Exchange Public Folders to be one of the most underutilized features of Exchange installations. The more we inform our clients about Public Folders, what they can do and how to use them, the more value they generally receive from their existing Exchange installations (that is of course when public folders provide a make sense solution to certain needs within their organization).
Because Outlook Web Access is often one of the first features used by clients, we find ourselves looking over and tightening up security by encrypting credentials for OWA access through use of an SSL certificate (yes, we still find businesses authenticating in the clear!). The need to encrypt access credentials is obvious but many small businesses completely overlook this security fundamental OR do not have the funds needed to purchase a “brand name” certificate from the highly recognized Authorities like Thawte, Verisign, etc… Buying a basic Server certificate from Verisign (as an example) is $995 year. While this amount of money is a drop in the bucket for big IT infrastructures, for some small businesses it’s not affordable at all and they find it hard to justify paying the fee each year (especially when they may not even have ever been told why encryption is important to security in the first place).
At WIGITAL, we generate a lot of self signed certificates at 2048 bit count encryption as part of our services. This DIY approach saves the client a bunch of money each year, they get the encryption they need for OWA and we get to sleep better at night as consultants.
Here is where the failure can occur when attempting to Administer Public Folders in Exchange after a selfSSL certificate (or any certificate for that matter) is generated for OWA Outlook Web Access.
The typical method of generating a self signed SSL certificate using selfssl.exe requests a common name during the process of making the certificate. The CN is used to identify the cert with the site (ex CN=owa.mycompany.com). The certificate is named so that when Users log on to OWA, they can recognized the “name” of the SSL certificate matches the name of the website. This name matching of certificate and URL is also part of the warning system of most browsers with the browser prompting the user if the name of the certificate does not match the name of the website.
In the case of Exchange and OWA however, unless the administrator also publishes the COMPUTERNAME of the Exchange Server (or Front End Exchange Server) in the certificate along with the website name, Exchange will cause Public Folders to become inaccessible to administration. This is because the SSL cert causes an error when attempting to access the Public Folders using Exchange System Manager.
Exchange System Manager can (and will) throw errors such as the following when the CN on a self signed SSL certificate does not match the SERVERNAME of the Exchange Server or is not trusted.
Errors
ID c103b404 The SSL certificate server name is incorrect.
OR
ID 80090325 The certificate chain was issued by an authority that is not trusted.
The second error indicating the certificate is not trusted can be a simple oversight on the part of the administrator. The selfSSL tool does have a parameter to make sure a certificate “trusted” at the time it’s created. However, adding the cert to the Trusted Root using the Certificate snap-in does not solve the problem “when” the SERVERNAME is not one of the Common Name’s in the certificate.
Fortunately the work around is pretty simple.
Exchange System Manager uses IIS as it’s vehicle to provide the administrative functionality for Exchange Public Folders. In other words, the administration of ESM actually rides on top of IIS using IIS as the engine to provide the functionality for administration. A virtual server (exadmin) is created during Exchange setup in IIS as a subsite (or child) of the default web site. exadmin in IIS, then…. is the engine on which we administer (EXchange ADMINistration) Public Folders.
Using an SSL certificate above the exadmin node (on the Default web site root) and then requiring SSL at the level of the exadmin virtual server can cause the errors we’re writing about. Exchange will not allow administration if the name of the certificate does not match the name of the server (and this is always the case if the certificate is named for the “public URL” of the default website).
SOLUTION: Simply disable the requirement for SSL on the exadmin virtual server in IIS and problem is solved.
You can also enter multiple Common Names into self signed certificates (including the proper SEVERNAME) using selfSSL by following this article
http://wintivity.wigital.net/security/multiple-common-names-for-certificates-using-selfsslexe
Be advised however, that it is never advisable to publish the FQDN Fully Qualified Domain Name of a server on your internal network into the details of a certificate to be published on a public facing website.
READING
See this thread at msexchange.org
Here are some additional articles with other reasons why Public Folders may fail to open when attempting to administer them:
You receive an SSL Certificate error message when you view public folders in Exchange System Manager
http://support.microsoft.com/kb/324345
Troubleshooting Microsoft Exchange System Manager Public Folder Expansion Problems
http://technet.microsoft.com/en-us/library/aa996098(EXCHG.65).aspx
Cleaning up Exchange 2000/2003 administrative groups - Do not delete the admin group that holds the public folders
http://mostlyexchange.blogspot.com/search?q=public+folder+delete
Thanks for reading,
Mark Raborn
WIGITAL
Business Computing and Technology Professionals