Q203290 Error: This Version of Citrix Receiver does not support the selected encryption, when starting RES VDX session

When starting a Citrix XenApp session with RES VDX enabled the following error might occur:
“This Version of Citrix Receiver does not support the selected encryption. [Error 1046] The Virtual Driver is not loaded”.
The second logon attempt runs without any problems. This issue only occurs when using the Citrix Receiver. When using earlier ICA client versions , this error will not occur.

Cause 1 – RES VDX tries to initialize the ICA virtual channel when the Citrix Receiver is not ready yet. 95% probability.
In Citrix Receiver 3.0 and higher, Citrix implemented a timeout in their software. Due to this timeout an error is generated by the Citrix Receiver when RES VDX tries to open the ICA virtual channel. At the seccond logon attempt the timeout is expired and the logon process continues without any problems.Solution 1.1 – Solved in a FixPack based on RES VDX SR2

In my test environment I have installed all Citrix components (required) to access applications from remote locations.

Setup:

Citrix Access Gateway (VPX) Express

Self-Signed certificate. (Generated by CAG)

Citrix Webinterface (configured Services Site)

XenApp 6

This setup works for the following device OS’es:

Windows 7

IOS 5

Android 2.2

Only when trying to connect an OS X machine to the published application (via Citrix Receiver 11.4.3 It did not work.

After importing the self-signed certificate (crt/cer) to the keystore (login or system) I try to setup up a connection to the published application. After some time the connection failed with I receive the following error:

Citrix ICA SSL Error 61: You have not chosen to trust FQDN, the issuer of the server’s security certificate. Error number183

After trying some stuff, like importing it in different formats I eventually found the solution while doing the following steps:

Export your self-signed certificate to a convenient location.

Open Terminal and enter :

Enter:

Sudo su

Enter your admin user password

Enter:

mkdir /var/CTXScert

And:

mkdir /var/CTXScert/cacerts

Now copy your certificate to the just created folder, cp <your location> /var/CTXScert/cacerts/

quit Terminal.

Instantly after connecting again I was presented the Published application, the error had disappeared.