My OS of choice is again Windows 2008 R2 SP1. The internal FQDN is xmppint.lynclog.com. In my external DNS, however, I will use xmpp.lynclog.com for A record. Also, I will attempt to configure it with single NATed IP address in the DMZ subset. The server is not a member of lynclog.com domain.
There are few steps to complete before the gateway installation and configuration.
1. Append the domain suffix. The point here is – our lync server must establish MTLS with the xmpp gateway and the certificate must match gateway’s FQDN. Of course, I will issue this cert from my Domain CA.
Installed .NET feature.
I need to request and install certificate for my server, but how to do that? Well, first I imported the CA certificate via MMC.
Then installed IIS Management Console and used it to create offline certificate request.
Then installed IIS Management Console and used it to create offline certificate request.
…and used the request to receive certificate from my Domain CA and then "Completed the Certificate request" to import in the computer store.
...and created A record for xmppint.lynclog.com in the internal DNS, so my Lync server can resolve the gateway's IP address.
I downloaded and install the bits from this link: http://www.microsoft.com/downloads/en/details.aspx?FamilyID=aa560bfe-9960-473a-bfb8-53bff678cec4&displaylang=en
After running the installer, the bits were placed in “C:\Program Files\Microsoft Office Communications Server 2007 R2\XMPP Gateway Installer”. Run setup.exe located in this folder.
Next – the XMPP gateway configuration.
…select certificate.
...and Validate the Connection.
Now, the XMPP configuration.
No certificate is necessary for gmail. I "tested the connection" and although connection to google’s xmpp servers was successful but gmail.com failed?!?
Doh, I have not yet configured my SRV record in the public DNS.About this record you can read in the XMPP installation manual. The goal is external DNS query for _xmpp-server._tcp.domain.tld to return proper values as shown:
Locate the file "TGWConsoleGUI.dll.config" in C:\Program Files\Microsoft Office Communications Server 2007 R2\XMPP Gateway, open it with Notepad and enter the IP address of your XMPP server on both lines.
...and start the service:
...and start the service:
One last thing I must do now is to add the gateway in the allowed domain in Lync CP.
At this point, since I just created the public SRV record, I left the final test for tomorrow morning, since had to wait for DNS replication any way…
Don't you love when your day starts like that?
May 16th, 2010: I just re-visited one of my favorite UC blogs and noted this post: http://blogs.technet.com/b/ucedsg/archive/2011/04/11/can-lync-im-federate-with-google-talk-or-jabber-instant-messaging.aspx
Note the section Mark talks about "tweaks", which apparently fixes the problem with broken presence presentation.