The operational dilemma
When compliance patching breaks essential legacy access
During an annual Cyber Essentials Plus (CE+) technical audit at a UK organisation, the vulnerability assessment report returned an immediate finding: several laptops had outdated versions of the Citrix Workspace app installed. Under Cyber Essentials requirements, any software with known high-risk vulnerabilities must be updated to a vendor-supported version within 14 days.
In many non-profits and care organisations, Citrix environments represent legacy infrastructure. The platform is often earmarked for retirement as soon as remaining on-premises line-of-business applications can be migrated to modern SaaS platforms. However, until that migration completes, care coordinators, finance staff, and managers rely on those virtual apps every single day.
When the IT team deployed the latest, fully patched Citrix Workspace app to test machines, an immediate operational blocker emerged: users could log in, but no virtual application would launch.
Faced with this issue, many resource-constrained teams feel forced to choose between two bad options:
- Option A (Compromise Endpoint Security): Keep the legacy, vulnerable Citrix Workspace client installed on laptops so staff can continue working, failing Cyber Essentials Plus and leaving endpoints exposed to known client-side exploits.
- Option B (Halt Operations): Force the update, locking frontline staff out of critical legacy records while attempting an emergency infrastructure overhaul.
Neither option is acceptable. Under the Resource-Aware Cybersecurity Framework for Care Charities (RACF-CC), security controls must never compromise operational care continuity, nor should legacy constraints be used as an excuse to ignore endpoint vulnerabilities. The answer lies in systematic, evidence-led troubleshooting.
The symptoms
Authentication succeeds, but application launch fails fatally
The failure mode presented a deceptive set of symptoms:
- The user launched Citrix Workspace, entered their multi-factor credentials, and authenticated to the NetScaler Gateway without issue.
- The StoreFront interface populated correctly, showing all assigned published applications and desktops.
- When the user clicked any application icon, the Citrix connection engine (
wfica32.exe) initiated a connection. - After a few seconds of spinning, the connection terminated abruptly with the following dialogue:
Citrix Workspace Connection Failure
Cannot connect to the server.
SSL Error 37: The server has rejected your credentials or the connection was terminated. (SSL_STATUS_ALERT_HANDSHAKE_FAILED)
Curiously, older laptop builds running the outdated Workspace version continued to launch applications normally through the exact same gateway. The issue only manifested when Workspace was updated to current, secure versions.
Hypothesis testing
Ruling out common culprits: EDT, TLS 1.3 and Ciphers
Rather than making uncontrolled changes to live network firewalls or server certificates, the team worked through three distinct technical hypotheses. Recording failed tests is just as vital as recording the eventual fix, as it prevents other administrators from chasing dead ends.
Hypothesis 1: Enlightened Data Transport (EDT / UDP)
Modern Citrix Workspace defaults to Enlightened Data Transport (EDT), which uses UDP 443 (DTLS) instead of standard TCP. If a legacy gateway does not support DTLS or UDP is blocked upstream, launches can stall.
Test: Enforced TCP-only transport on the client via registry:
$Path = "HKLM:\SOFTWARE\Policies\Citrix\ICA Client\Engine\Lockdown Profiles\All Regions\Lockdown\Network\UDT"
New-Item -Path $Path -Force | Out-Null
New-ItemProperty -Path $Path -Name "HDXOverUDP" -PropertyType String -Value "Off" -Force
Result: Launch failed with identical SSL Error 37. Rolled back the registry value.
Hypothesis 2: TLS 1.3 Protocol Incompatibility
Recent Citrix Workspace updates enable TLS 1.3 by default. Older NetScaler gateway builds (such as NetScaler 12.0) only support up to TLS 1.2. Could a failed TLS 1.3 negotiation cause the handshake to abort?
Test: Disabled TLS 1.3 client-side to force TLS 1.2 negotiation:
$Path = "HKLM:\SOFTWARE\WOW6432Node\Citrix\ICA Client\TLS1.3"
New-Item -Path $Path -Force | Out-Null
New-ItemProperty -Path $Path -Name "EnableTLS1.3" -PropertyType DWord -Value 0 -Force
Result: Launch failed with identical SSL Error 37. Rolled back the registry value.
Hypothesis 3: Cipher Suite Mismatch or Network Port Reachability
Was the gateway rejecting the client's cipher suites or failing to negotiate TLS 1.2 over TCP port 443?
Test: Executed a read-only PowerShell probe using .NET's native SslStream to inspect the gateway's negotiated handshake directly from the problem client:
$Gateway = "gateway.example-charity.org.uk"
$TCP = [System.Net.Sockets.TcpClient]::new($Gateway, 443)
$SSL = [System.Net.Security.SslStream]::new($TCP.GetStream(), $false)
try {
$SSL.AuthenticateAsClient($Gateway, $null, [System.Security.Authentication.SslProtocols]::Tls12, $true)
$SSL | Select-Object SslProtocol, CipherAlgorithm, CipherStrength, HashAlgorithm, KeyExchangeAlgorithm, NegotiatedCipherSuite, IsAuthenticated
}
finally {
$SSL.Dispose()
$TCP.Dispose()
}
Result:
SslProtocol : Tls12
CipherAlgorithm : Aes256
CipherStrength : 256
HashAlgorithm : Sha1
KeyExchangeAlgorithm : RsaKeyX
NegotiatedCipherSuite : TLS_RSA_WITH_AES_256_CBC_SHA
IsAuthenticated : True
The gateway successfully negotiated TLS 1.2 with standard AES-256 ciphers. The network path was open, and the certificate was valid. So why did the web browser succeed while the Citrix Workspace application engine failed?
The breakthrough
Packet capture analysis exposes the TLS renegotiation conflict
To see exactly what transpired between the client and the gateway at the microsecond of failure, the team launched Wireshark on the test laptop and filtered on TLS handshakes:
tls.handshake.type == 1 || tls.handshake.type == 2 || tls.alert_message
The packet trace revealed a critical distinction in how Citrix Workspace operates:
- Connection 1 (Web Authentication): The user authenticates to the StoreFront web interface over HTTPS. This completed cleanly.
- Connection 2 (ICA Engine Launch): When an application is launched, Workspace initiates a separate, independent TLS connection via
wfica32.exeto the NetScaler Gateway on port 443.
In Connection 2, the packet stream revealed the exact point of collapse:
| Packet Stage | Source → Destination | TLS Protocol Detail Observed |
|---|---|---|
| Client Hello | Laptop → NetScaler Gateway | TLS 1.2 Client Hello advertising cipher suites and RFC 5746 Secure Renegotiation extension (renegotiation_info / 0xff01). |
| Server Hello | NetScaler Gateway → Laptop | NetScaler accepts TLS 1.2 (Cipher: 0xc013 / TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA), but returns no renegotiation extension. |
| TLS Alert | NetScaler Gateway → Laptop | Level: Fatal (2), Description: Handshake Failure (40). Connection immediately closed by gateway. |
The Root Cause in the NetScaler SSL Profile
Armed with the handshake failure evidence, the team logged into the NetScaler management console and inspected the SSL profile bound to the Gateway virtual server:
show ssl profile ns_default_ssl_profile_frontend
The profile configuration revealed the culprit:
Deny SSL Renegotiation: ALL
Years earlier, an administrator had configured Deny SSL Renegotiation ALL to mitigate the historic 2009 SSLv3/TLS renegotiation vulnerability (CVE-2009-3555). However, setting this parameter to ALL aggressively blocks all renegotiation attempts, including modern, secure renegotiation conforming to RFC 5746.
Older Citrix Receiver and early Workspace clients tolerated this restrictive setting. However, recent, secure releases of Citrix Workspace strictly enforce RFC 5746 secure renegotiation handling during the ICA session handoff. When NetScaler flatly refused to acknowledge secure renegotiation, the gateway aborted the handshake, resulting in SSL Error 37.
The solution
Configuring safe RFC 5746 renegotiation on NetScaler
The resolution does not require disabling renegotiation protection or lowering your gateway's security posture. Instead, it involves configuring NetScaler to permit secure, standards-compliant RFC 5746 renegotiation while continuing to block legacy, vulnerable renegotiation attempts.
The Fix: Change Renegotiation from ALL to NONSECURE
Execute the following command on the NetScaler CLI (or apply during an approved change window):
set ssl profile ns_default_ssl_profile_frontend -denySSLReneg NONSECURE
save ns config
What This Setting Changes
ALL(Previous setting): Denies all renegotiation requests unconditionally. This breaks modern TLS clients that expect RFC 5746 signalling.NONSECURE(Recommended setting): Denies unauthenticated and insecure renegotiation (preventing CVE-2009-3555 attacks), but permits valid RFC 5746 secure renegotiation extensions.NO(Never use): Allows all renegotiation, including unpatched legacy renegotiation, leaving servers vulnerable.
Documented Rollback Command
Always maintain a documented rollback step prior to making perimeter gateway adjustments:
set ssl profile ns_default_ssl_profile_frontend -denySSLReneg ALL
save ns config
Verification Result
Immediately after executing the command, test laptops running the latest, fully updated Citrix Workspace app clicked the published applications: every application launched instantly without errors.
The IT team was able to mass-update all corporate laptops to the latest Citrix Workspace build, successfully closing out the Cyber Essentials Plus audit finding with zero operational downtime for frontline staff.
Framework governance
Connecting the fix to RACF-CC principles
This troubleshooting scenario is a practical demonstration of how the core principles of the Resource-Aware Cybersecurity Framework for Care Charities (RACF-CC) operate in real-world environments:
| RACF-CC Principle | Operational Challenge | How Evidence-Led Action Resolved It |
|---|---|---|
| Risk-led | CE+ audit identified vulnerable Workspace clients on portable laptops. | Refused to accept the risk of unpatched endpoints. Treated client patching as non-negotiable while isolating the gateway root cause. |
| Resource-aware | Limited budget; legacy Citrix environment is scheduled for retirement. | Avoided an expensive, rushed hardware replacement or consultancy fee by adjusting existing appliance profiles safely. |
| Care-conscious | Staff need daily access to legacy client records and shift tools. | Conducted structured testing without breaking live staff sessions or interrupting essential care delivery. |
| Evidence-led | Generic error messages gave no indication of the true underlying fault. | Used PowerShell stream probes and Wireshark packet captures to prove the failure mechanism rather than guessing. |
Authoritative references
Vendor documentation and technical references
- Citrix Knowledge Center: How to Configure SSL Renegotiation on Citrix ADC (CTX205283) - official configuration syntax and parameter explanations for
-denySSLReneg. - IETF RFC 5746: Transport Layer Security (TLS) Renegotiation Indication Extension - formal specification defining secure renegotiation signalling.
- CVE-2009-3555 - the original TLS renegotiation injection vulnerability details.
- Trends4You: When You Can't Patch - Managing Legacy Systems Without Ignoring the Risk - our foundational guide on balancing legacy constraints with defensible safeguards.
Note: Adjusting SSL renegotiation parameters should always be tested in a representative staging environment or during an approved maintenance window. Organisations operating legacy NetScaler appliances should continue prioritising migration to modern, vendor-supported access architectures.
Voluntary support
Found this useful? Support Trends4You
Trends4You's practical guides, RACF-CC resources and downloadable tools are provided free of charge. If they've helped you or your organisation, you can support the time and hosting that keeps them freely available.
Support is optional, handled securely by PayPal and does not provide additional access.