Search the Site

My Social
Meta
Powered by Squarespace
« Photofocus Question - Tilted Horizon | Main | Dilemma Gigantica »
Thursday
Jul162009

Citrix ICA Client SSL Error 61

The great thing about Citrix is that you can access company resources from almost anywhere. They have several solutions for remote access and thin client computing. They also have an ICA client for Apple OSX (Yeeehaaaaa).

I've been using the OSX ICA Client for a couple of months now to access my mail on the company intranet. Apart from some little quirks (like not functioning well when having two displays), the experience is good. Up till now.

Today, completely out of the blue came this error:

The error message suggests that I have changed something on my Mac, but not that I know. For someone who works with PKI, one would think that they would remember choosing NOT to trust a public VeriSign CA.

Most likely, the original SSL certificate expired, and they installed a new SSL certificate on the Citrix gateway. Problem is that this SSL Certificate is issued by an INTERMEDIATE CA. Since it's issued by an intermediate certificate, the service you're trying to access should provide you with this CA during the initial exchange key while establishing the SSL connection. The basis of PKI is that you should preferably trust ROOT CA's only. Everything in between should be provided during the communications setup.

Certificate Chain Certificate Chain

Anyway, since this is not completely new to me, I found the correct CA in the FireFox keystore (I ran into this on a website a while back), and exported it, imported it in the OSX Keychain and thought that everything would be oké.... Well not!!!!
It seems that the Citrix ICA Client has the CA's build in, so it completely ignores your trusted CA's.

The workaround is to create a folder hierarchy in the Citrix Client folder (Most likely to be /Application/Citrix ICA Client/), and place the binary encoded root certificate (with a .crt extension) in that location (Citrix explanation here). The certificate should be located in the following sub directory of the Citrix ICA Client folder; keystore/cacerts/

The full path to the intermediate CA on my system is:

/Applications/Citrix ICA Client/keystore/cacerts/VeriSignClass3SecureServerCA-G2.crt

After relaunching the client the connection went flawless.

This left me with a couple of questions (mostly SysOp related I guess);

  • Why isn't the Secure gateway (or whatever it's called) not sending the Intermediate CA's during the connection setup?
    My first guess; The intermediate certificate is not imported/installed on the device. Either Citrix has no way of doing this, or the SysOps have no idea what they're doing. Either way, I have no way of checking this.
  • Why is it that no one bothers to get acquainted with basic PKI operations? How can one offer security if you don't know the rules?
    DISCLAIMER: I don't claim to know everything on the subject, but for an intranet access gateway for over 10.000 employees you should know what you're doing.
  • Anyone found an easy way of accessing the VeriSign intermediate CA's certificates? You can only find the root CA's, and not the intermediate CA's. Easiest way I found is to use Internet Explorer and examine the SSL certificate chain and export them that way. Downside is; you need Internet Explorer....

Reader Comments (5)

probably an updated certificate on the server site. Maybe they changed the root CA?

but how should I know. What do I know of security and Citrix anyway ;-)

August 3, 2009 | Unregistered CommenterAlbert

@Albert
Heeeee. Albertje. You old-novell Prutsert :-)

August 3, 2009 | Unregistered CommenterWillem

The above error is exactly what I get when I try to log onto citrix for work. I can't fix and am not versed in certificates etc. Is there any quick fix for luddites?

August 7, 2009 | Unregistered CommenterMary

@Mary
You could point your tech-support guy(s) to this article. They should be able to help you.

August 7, 2009 | Unregistered CommenterWillem

This was useful - thanks.
In Linux the keystore is in the directory /usr/lib/ICAClient/keystore/cacerts

September 17, 2009 | Unregistered CommenterTorfinn

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Post:
 
Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>