Skip to content

Instantly share code, notes, and snippets.

@bdelcamp
Created March 30, 2021 20:28
Show Gist options
  • Save bdelcamp/de793454f7749b1d71439e3119c25426 to your computer and use it in GitHub Desktop.
Save bdelcamp/de793454f7749b1d71439e3119c25426 to your computer and use it in GitHub Desktop.
Install Citrix ICAClient on Fedora 34
#!/bin/sh
#Install Citrix Workspace App on Fedora 34
#Download Client from https://www.citrix.com/downloads/workspace-app/linux/workspace-app-for-linux-latest.html
#sudo dnf install -y ICAClientWeb-rhel-20.04.0.21-0.x86_64.rpm
sudo dnf install ICAClient
#sudo dnf install -y compat-openssl10.x86_64 ##not needed >f32
# 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.1" /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
@NikEfth
Copy link

NikEfth commented Mar 14, 2022

I tried every post on the web to fix Citrix in F35. This is the only thing that worked! Cheers!

@MastaG
Copy link

MastaG commented Mar 24, 2022

The only thing you need to do is run the following command:

 /opt/Citrix/ICAClient/util/ctx_rehash 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment