Skip to content

Instantly share code, notes, and snippets.

@Thermionix
Last active November 9, 2022 06:57
Show Gist options
  • Save Thermionix/38ec889c85755b18d82fdcf7c29af3a8 to your computer and use it in GitHub Desktop.
Save Thermionix/38ec889c85755b18d82fdcf7c29af3a8 to your computer and use it in GitHub Desktop.
Install Citrix Workspace App on Fedora 32
#!/bin/sh
#Install Citrix Workspace App on Fedora 32
#Download Client From https://www.citrix.com/en-au/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 -y 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
@Coo-ops
Copy link

Coo-ops commented Mar 4, 2022

Just wanted to say how much of a champion you are for providing this.

Can I buy you a coffee?

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