book
Article ID: CTX134123
calendar_today
Updated On:
Description
When using StoreFront or Cloud Workspace with Workspace App for HTML5 through an HTTPS URL, applications and desktops cannot be started. One of the following error messages is displayed:
- “Cannot create a secure connection in this browser. Refer to the Citrix Knowledge Center article CTX134123.”
- "Cannot create a secure connection in this browser."
- "Failed to construct 'WebSocket': An insecure WebSocket connection may not be initiated from a page loaded over HTTPS."
Resolution
There are two possible scenarios of utilizing Workspace App for HTML5 in an environment, and the solution will vary depending on the scenario being used. See below:
Scenario 1: Internal-Only using Storefront or Cloud Workspace without Netscaler VPX/Cloud Gateway:
- Enable TLS on the VDA using the following guide:
- Enable TLS on the Delivery Group using the following guide:
Scenario 2: External using Storefront or Cloud Workspace with Netscaler VPX or Cloud Gateway
- Ensure that the Netscaler VPX/Cloud Gateway are being used. These error messages only occur in this scenario when no Netscaler VPX/Cloud Gateway are found. No modifications are going to be required on the Cloud Gateway Service or a Netscaler VPX for this configuration to work, outside of verifying their usage.
- For Netscaler VPX: Netscaler VPX will proxy the connections and perform a TLS handshake between the client and itself. SSL is deprecated and TLS should be the primary cipher suite being used.
- For Cloud Gateway Service, to verify it's enabled:
- login to Citrix Cloud
- Select the 3-lined Menu at the top-left of the portal
- Navigate to Workspace Configuration
- Select the 'Access' tab
- Identify the proper Resource Location
- Click on the '...' to the right of the Resource Location
- Under 'Configure Connectivity' select 'Gateway Service' option
Problem Cause
When Workspace App for HTML5 is hosted on a https site (default and recommended), non SSL/TLS Websocket connections are prohibited by browsers.
Issue/Introduction
This article provides information on how to enable launching applications through a HTTPS URL using the Citrix Workspace App for HTML5.