How to run Citrix Secure Gateway (CSG) on another port than 443

Let us pretend, that we have the Citrix Secure Gateway (CSG from now on) running on port 443 and you need that port for something else (Microsoft OWA) for are we going to accomplish this..?

A few years back, Patrick Rouse wrote an excellent 2-part article on How To Install and Configure Citrix Web Interface 4.6 and Citrix Secure Gateway on the same server:
part 1
part 2
If you follow these articles to a tee, you will end up with a working CSG/WI environment.
But one day, your brilliant co-worker needs port 443 to test another application from the outside and has already put his hand on the "off" switch of your CSG server. Instead of following your first instinct:

Let’s try to get the CSG to relocate to another port:
First start the CSG configuration tool and go trough the options and pause here:

Pick a port number that you know will work for you!
Then finish all the follow-up screens which will restart the CSG services at the end.

Next up is to alter the 443 port forward settings in your firewall and change them to your newly appointed port.

One may think that was all she wrote… all_she_wrote
But if you try to login to your WI, everything will look fine at first. You login, see a list of your apps but when you try to start an application you’ll probably get the following error:

There is no Citrix SSL server configured on the specified address

Ok, now what?
Go to the folder where you installed the Web Interface (C:\Inetpub\wwwroot\Citrix\XenApp\conf or similar)
and open the WebInterface.conf file with notepad and start a search for: CSG_ServerPort
Heyyyyy, that’s not the correct port! Change the portnumber to your newly chosen port, save the file, do a iisreset and you should be good to go!
If this post helped you out, help me out keeping this site alive and visit some of my sponsors on the left or right.. Thanks..!
TAGS: How to, Run, CSG on different port, no Citrix SSL server configured on the specified address, 443

Comments are closed.