Tuesday, July 20, 2010

Web Interface Trusted Sites Issue

My company uses a Citrix Secure Gateway server with the Citrix Web Interface installed on the same server. If the address of the gateway is not in the end user's Trusted Sites list when using Internet Explorer, the user gets a message telling them how to add it.

However, since the Secure Gateway uses the address "localhost" to communicate with the locally installed Web Interface, the address the user is told to add to their trusted sites is http://localhost. This confuses some users, and if they follow the instructions it won't fix the problem. I needed a way to change the address to the actual URL of our Secure Gateway. Here's how to fix the problem:

1. Back up the file changeZoneHelp.inc (the default location is: C:\Inetpub\wwwroot\Citrix\XenApp\app_data\clientDetection\include), and open with Notepad. Add the following line after line 1 (replace with your URL):
<% viewModel.siteURL = "https://csg.company.com/"; %>
2. Restart the Citrix Secure Gateway service (this will close any open sessions).

That's it! The users should now see the correct URL.