Citrix Workspace app for Windows fails to launch resources with SSL Error 65

book

Article ID: CTX697331

calendar_today

Updated On:

Description

Symptoms 

  • Launch fails immediately with SSL Error 65 (1000065): SSL_STATUS_X509ERR_UNABLE_TO_GET_ISSUER_CERT_LOCALLY. 
  • No corresponding configuration or certificate changes were made to Citrix Gateway, NetScaler, StoreFront, or the VDAs. 
  • The failure follows the device rather than the user. Other users on the same device also experience the issue. 
  • Citrix Workspace app 2511 works on the same device. 
  • Some devices in the same environment are unaffected. 

Affected versions and environments 

Affected releases: Citrix Workspace app for Windows 2603 through 2607, including 2607 HF1.  

Not affected: Citrix Workspace app 2511 and earlier, and Citrix Workspace app 2610. 

Certificate chain: The Citrix Gateway certificate chains to a Sectigo or COMODO root, such as USERTrust RSA Certification Authority or COMODO RSA Certification Authority, and the device previously validated it through AAA Certificate Services cross-signing.

Environment

Caution! Using Registry Editor incorrectly can cause serious problems that might require you to reinstall your operating system. Citrix cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk. Be sure to back up the registry before you edit it.

The above mentioned sample code is provided to you as is with no representations, warranties or conditions of any kind. You may use, modify and distribute it at your own risk. CITRIX DISCLAIMS ALL WARRANTIES WHATSOEVER, EXPRESS, IMPLIED, WRITTEN, ORAL OR STATUTORY, INCLUDING WITHOUT LIMITATION WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NONINFRINGEMENT. Without limiting the generality of the foregoing, you acknowledge and agree that (a) the sample code may exhibit errors, design flaws or other problems, possibly resulting in loss of data or damage to property; (b) it may not be possible to make the sample code fully functional; and (c) Citrix may, without notice or liability to you, cease to make available the current version and/or any future versions of the sample code. In no event should the code be used to support ultra-hazardous activities, including but not limited to life support or blasting activities. NEITHER CITRIX NOR ITS AFFILIATES OR AGENTS WILL BE LIABLE, UNDER BREACH OF CONTRACT OR ANY OTHER THEORY OF LIABILITY, FOR ANY DAMAGES WHATSOEVER ARISING FROM USE OF THE SAMPLE CODE, INCLUDING WITHOUT LIMITATION DIRECT, SPECIAL, INCIDENTAL, PUNITIVE, CONSEQUENTIAL OR OTHER DAMAGES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Although the copyright in the code belongs to Citrix, any distribution of the sample code should include only your own standard copyright attribution, and not that of Citrix. You agree to indemnify and defend Citrix against any and all claims arising from your use, modification or distribution of the sample code.

Cause

On affected devices, the required self-signed root certificate is not available in the Windows Local Computer trusted root certificate store. Citrix Workspace app versions 2603 through 2607 cannot complete certificate-chain validation when the required root is unavailable locally. The connection therefore ends before the session opens. 

Different devices in the same environment may behave differently because the contents of their Windows certificate stores can vary. 

Resolution

Upgrade the affected device to Citrix Workspace app for Windows 2610 or later.

Issue/Introduction

Citrix Workspace app for Windows 2603 through 2607 can fail to launch published applications and desktops through Citrix Gateway with SSL Error 65 (1000065). The connection stops before the session opens. The issue began on or after October 24, 2026 and is most commonly seen on unmanaged, contractor, and bring-your-own-device Windows endpoints. 

Additional Information

Workaround 

If upgrading Citrix Workspace app is not immediately possible, install the required self-signed root certificate in the following store: 

Local Computer > Trusted Root Certification Authorities 

Important: Obtain root certificates only from a trusted source and validate their thumbprints before deployment. After installing the certificate, fully exit Citrix Workspace app from the system tray and restart it, or restart the device. Citrix Workspace app reads the certificate store during startup, so the connection may continue to fail until the app has been fully restarted. 

 

Required root certificates 

Gateway certificate chain 

Root certificate 

SHA-1 thumbprint 

Sectigo or USERTrust 

USERTrust RSA Certification Authority 

2B8F1B57330DBBA2D07A6C51F70EE90DDAB9AD8E 

COMODO 

COMODO RSA Certification Authority 

AFE5D244A8D1194230FF479FE2F897BBCD7A8CB4 

Check whether the root is installed 

Check by thumbprint, not only by certificate subject name. Cross-signed certificates can have the same subject name as the required self-signed root. 

Get-ChildItem -Recurse Cert:\LocalMachine | 
    Where-Object Thumbprint -eq '2B8F1B57330DBBA2D07A6C51F70EE90DDAB9AD8E' | 
    Select-Object PSParentPath 

A result under the Root or AuthRoot certificate store indicates that the certificate is present. To check for the COMODO root, replace the thumbprint with AFE5D244A8D1194230FF479FE2F897BBCD7A8CB4. 

Deploy the certificate to managed devices 

Export the required root certificate from a known-good, trusted device: 

Get-ChildItem Cert:\LocalMachine\Root\2B8F1B57330DBBA2D07A6C51F70EE90DDAB9AD8E | 
    Export-Certificate -FilePath .\USERTrust-RSA-Root.cer 

Verify the exported certificate and its thumbprint before distributing it. 

Group Policy: Computer Configuration > Windows Settings > Security Settings > Public Key Policies > Trusted Root Certification Authorities > Import. 

Microsoft Intune: Deploy the certificate by using a Trusted certificate device configuration profile. 

Install the certificate on a single device 

From an elevated command prompt, run: 

certutil -addstore Root USERTrust-RSA-Root.cer 

Fully exit Citrix Workspace app from the Windows system tray and restart it. Alternatively, restart the device. 

Verification 

  1. Confirm that the required self-signed root certificate is present in the Local Computer Root or AuthRoot certificate store. 
  1. Fully exit and restart Citrix Workspace app. 
  1. Launch the same application or desktop through the same Citrix Gateway. 
  1. Confirm that SSL Error 65 no longer appears. 
  1. Confirm that the application or desktop session opens successfully.