Skip to content

Instantly share code, notes, and snippets.

@avbor
Forked from Thermionix/fedora.citrix.workspace.sh
Created November 9, 2022 06:57
Show Gist options
  • Select an option

  • Save avbor/a8d611e604bc55a9ce193e0f502c7bf7 to your computer and use it in GitHub Desktop.

Select an option

Save avbor/a8d611e604bc55a9ce193e0f502c7bf7 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment