PGTS Humble Blog
Thread: Tips/Tricks For Programming etc
|All animals are equal. But some animals are more equal than others.|
Citrix Client On Ubuntu
Chronogical Blog Entries:
Date: Wed, 10 Sep 2008 00:38:34 +1000
Recently, I installed Citrix client on Ubuntu Hardy Heron. The install went quite smoothly. At the time of writing I found the latest tarball called en.linuxx86.tar.gz, on the Citrix site.
This tarball is a little unorthodox. The actual setup script is in the root folder. To run it, I copied it to a folder (called /usr/dwn) and then used the sudo -i command to assume super user privileges. I then entered these commands:
# check that the file /usr/dwn/en.linuxx86.tar.gz exists.
ls -l en.linuxx86.tar.gz
# make a target folder and unpack it.
tar xvfz ../en.linuxx86.tar.gz
A series of simple instructions ensued. I chose "1" to install, and accepted the license. I then chose "y" to integrate with KDE or GNOME, and quit
This setup configures the client to work with Firefox on Ubuntu.
Next I restarted Firefox and logged into the Citrix metaframe server site and the authentication worked beautifully. Everything seemed fine and dandy. However when I tried to access any of the applications, Firefox responded with a weird (and rather obscure) error like the following:
|You have chosen not to trust "Foo Bar" The issuer of the server's security certificate (SSL error 61)|
I searched /usr for certificates (*.crt) and discovered one that looked like my Foo Bar certificate, in the folder /usr/share/ca-certificates/mozilla/.
It turns out that with the Citrix plugin installed, Firefox version 3 on Ubuntu Hardy Heron stores all the certificates in that folder. However the Citrix client expects certificates to be stored in /usr/lib/ICAClient/keystore/cacerts.
I resolved the problem by creating a symbolic link as follows:
mv -i * /usr/share/ca-certificates/mozilla/
ln -s /usr/share/ca-certificates/mozilla/ cacerts
Now the Citrix Client worked perfectly.
The above procedure also worked on Kubuntu.
Note: Substitute the name of your target Citrix certificate for Foo Bar, if you are experiencing similar problems.