I'm still a beginner in Lync world but the Lync Server impresses me every single day I am spending some time with it. The deployment process of the Lync Server is quite simple; however in some cases few problems I've been experiencing makes me pull my hair. One of them was Lync Server 2010 integration with Exchange 2010 SP1 Outlook Web Access...
First of all, there are bunch of blog posts and instructions on the internet about how to integrate Lync Server 2010 with OWA so I won’t bother you with yet another instruction about how to do it. I would like to thank Ilse Van Criekinge and Jeff Guillet’s great step by step guides about the how to integrate Lync with OWA.
Jeff Guillet:
How to Integrate Lync Server 2010 with Exchange 2010 SP1 OWAIlse Van Criekinge:
Configuring Lync RC and Exchange 2010 SP1 to Enable OWA as a Lync EndpointWell, the problem I’ve been experiencing was that I couldn’t sign in to the “Instant Messaging” through Outlook Web Access which is based on Exchange Server 2010 SP1.
What I’ve seen so far on the internet is, it’s a quite common problem. Ilse has even written another blog post about how to troubleshoot Lync-Exchange OWA Integration. It really helped me to find out where the problem was but didn’t give me a clue about how to solve it, because I didn’t use any wildcard certificate or self-signed certificate. Obviously I could not see any problem with my implementation of the Lync Server. In my case, I’ve used a SAN certificate and defined following FQDN names:
Meet.domain.lcl
Dialin.domain.lcl
Admin-Lync.domain.lcl
Sip.domain.lcl
Lync.domain.lcl (the server host name)
Ilse’s blog post about
troubleshooting Lync-Exchange OWA IntegrationBefore I get into more details with my problem, I would like to describe my lab environment:
- Two Domain Controllers
- Two Certificate Authority Servers with different configurations (more details will follow)
- One Exchange Server 2010 SP1 with all roles (CAS/HT/MBX/UM)
- Three Lync Servers (Standard with almost all roles/Director/Edge)
For troubleshooting, I’ve followed Ilse’s guides and this is what I’ve got.
It was quite strange that both Exchange and Lync servers could not communicate with each other even if they’ve got certificates from the same Issuing CA server which they also trusted (AD Certificate Services). After a little research on the internet, I couldn’t find any answers for why they couldn't communicate.
Just for the last try, I’ve enrolled brand new certificates for both Exchange Server and the Lync Server from another CA server in the same domain, reconfigured OWA Virtual Directory with the new certificate thumbprint in PowerShell and guess what; it made the integration work. The differences between these two CA servers are, the primary CA server issues certificates with sha512 hash algorithm while the other server issues with sha1.
For comparison, my old Exchange certificate:
And my new Exchange Certificate:
Please note that both the Exchange Server and the Lync Server have certificates from the same CA Server.
I've searched this behavior on the internet and the only single information I could find about this certificate limitation was an article in TechNet called “Request Certificates in Advance (Optional)”:
http://technet.microsoft.com/en-us/library/gg412733.aspx Hope this information will also help you if you are also experiencing the same problem as I did... Now I may play with the Instant Messaging in OWA =)
By the way, Happy New Year!!!