Exchange Cert Issues

Status
Not open for further replies.

Blastomatic

Wise, Aged Ars Veteran
119
Our longtime Exchange admin recently split and left us holding the bag with some SSL cert issues. This is on Exchange 2010. Primarily, the issue is that the cert is only set for our external OWA site, as such any internal requests are having difficulties due to name mismatch between FQDN and the cert. One way I could fix this is by issuing a secondary cert for the internal domain (a .local :(), or, what I think would be better, would be to set up URL rewrite rules to rewrite any requests to domain.local to domain.org which would then match the certificate. My questions here are 1) will this work for OUTLOOK clients internally? As in their requests to "casmain.domain.local" will be rewritten and handled properly by Exchange as "casmain.domain.org" and 2) is there a better way to make the internal domain.local FQDN work universally with the domain.org certificate?

It's been a couple years since I've really had to muck about with Exchange like this and I'd rather have everything mapped out and justifiable before suggesting we do anything. As it stands, we're having some widespread OAB issues and general low-skill user complaints regarding the "scary" SSL certificate popup in Outlook. Otherwise things are working fine and we are not having any issues with outgoing/incoming mail from other organizations (so our public email presence is fine).

Thanks for your help.
 

scorp508

Ars Legatus Legionis
10,214
The FQDN should not be necessary on the certificate. If you're clients are hitting the FQDN then the current Exchange server is more than likely still running the default settings from the day it was installed. Normally what would be suggested is to have a different internal namespace (e.g. mail.corp.contoso.com) and external namespace (mail.contoso.com). Then you're internal URL settings would be something along the lines of https://mail.corp.contoso.com/<InsertVirtualDirectorySpecificStuff> and that name is both on the cert and in DNS resolves to an internal load balancer. The ExternalURL settings of the virtual directories would point to https://mail.contoso.com/<InsertVirtualDirectorySpecificStuff> and that name is both on the cert and resolves in DNS to your external entry point.

If Split-DNS is a possibility then you can use the same name inside and out as long as internal DNS servers point to the internal LB IP and external DNS servers point to the external entry point.
 
What scorp said. Here is the sequence of commands I run on the servers just to make sure all the bases are covered, from Exchange Powershell:

Set-ClientAccessServer -Identity "server" –AutodiscoverServiceInternalURI https://mail.contoso.com/autodiscover/autodiscover.xml
Set-WebServicesVirtualDirectory -Identity "server\EWS (Default Web Site)" –InternalUrl https://mail.contoso.com/EWS/Exchange.asmx
Set-OABVirtualDirectory -Identity “server\OAB (Default Web Site)” -InternalURL https://mail.contoso.com/OAB
Set-ActiveSyncVirtualDirectory -Identity “server\Microsoft-Server-ActiveSync (Default Web Site)” -InternalURL https://mail.contoso.com/Microsoft-Server-Activesync

(Replace "server" with your computer's name of course, and mail.contoso.com with your public URL).
 

Danger Mouse

Ars Legatus Legionis
39,080
Subscriptor
I did ye olde split-dns type setup way back in our Ex2007-to Ex2010 migration stage.

We've got a disjoint name space with the internal as a then illegal suffix (probably legal now), so it was a requirement.

----

Exchange and the maintenance thereof isn't so horrible. If you lost the Exchange admin, you might be better off now if he didn't take care of simple things like this.
 

Blastomatic

Wise, Aged Ars Veteran
119
Hopefully one of you guys can give me some knowledge on this bit.

I set the array FQDN correctly, most everything is fine, but I'm getting a load of STARTTLS errors on all of the servers. Long story short, I have 3 CAS servers, I have 3 MB servers. It looks like the problem is that the old self-generated certs for the machines at MACHINENAME.domain.local are expired (I knew this), but also that the certs we're using are only for email.domain.org. The receive connectors for each machine are still set to FQDNs MACHINENAME.domain.local. Would it break anything to set all 3 CAS servers to email.domain.org on their receive connectors(which matches the certs)? I believe that, because of this, we're getting some random weirdness here and there. I know the certs need to be updated, if I can just use the email.domain.org cert instead of new self-gens for the individual servers that'd be easy, if not self-gens it is.

Side note, our desktop team had been using the MAILBOX SERVERS as the server names for each user. Such a giant cluster in userland because they weren't routing Outlook to the CAS, idiots.
 
Status
Not open for further replies.