Citrix on Fedora32

In case you need to get Citrix working under Fedora these are the steps that worked for me:

First of all download the client from https://www.citrix.com/de-de/downloads/citrix-receiver/linux/receiver-for-linux-latest.html and make sure you download the WebReceiverOnly package as the Selfservice-Package needs webkitgtk to work which is not provided by the Fedora32 repository.

Install client and crypto-libs

sudo dnf install ICAClientWeb-rhel-20.04.0.21-0.x86_64.rpm
sudo dnf install compat-openssl10.x86_64

Update libcrypto reference in desktop file

sudo sed -i '/Exec=/d' /usr/share/applications/wfica.desktop
echo 'Exec=env LD_PRELOAD="/lib64/libcrypto.so.1.0.2o" /opt/Citrix/ICAClient/wfica -icaroot /opt/Citrix/ICAClient %f' |
sudo tee --append /usr/share/applications/wfica.desktop
cat /usr/share/applications/wfica.desktop

Extract system ca-certificates and install in the Citrix cacerts directory

sudo ln -s /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem /opt/Citrix/ICAClient/keystore/cacerts/
cd /opt/Citrix/ICAClient/keystore/cacerts/
sudo awk 'BEGIN {c=0;} /BEGIN CERT/{c++} { print > "cert." c ".pem"}' < tls-ca-bundle.pem

Citrix Receiver expects libidn.so.11 so you need to link it to 12.6:

ln -sf /usr/lib64/libidn.so.12.6.0 /usr/lib64/libidn.so.11

Then start your Citrix application via the downloaded ica-file

env LD_PRELOAD="/lib64/libcrypto.so.1.0.2o" /opt/Citrix/ICAClient/wfica -icaroot /opt/Citrix/ICAClient [file.ica]