<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content

Okta Advanced Server Access and Privileged Access RDP Fails From macOS or Linux Clients and Gateways

Advanced Server Access
All Engines
Okta Classic Engine
Okta Identity Engine

Overview

Okta Advanced Server Access (ASA) and Okta Privileged Access (OPA) Remote Desktop Protocol (RDP) connections fail from macOS or Linux clients, or when routing connections through a gateway, because the target server only accepts the RDP security layer. Resolve this issue by updating the target server Group Policy Object (GPO) to negotiate the security layer. RDP connections from Windows clients succeed, but macOS, Linux, and gateway connections fail. The following error appears in MacFreeRDP or on the gateway:

 

SSL_NOT_ALLOWED_BY_SERVER

 

Applies To

  • Okta Identity Engine (OIE)
  • Okta Classic Engine
  • Okta Advanced Server Access (ASA)
  • Okta Privileged Access (OPA)
  • Server Agent
  • macOS
  • Linux

Cause

The target server only accepts the RDP security layer for remote RDP connections. A group or local policy controls this setting.

Solution

What steps configure the RDP security layer on the target server?

Update the Group Policy Object (GPO) on the target server to negotiate the security layer and force the policy update.

  1. Open the group or local policy editor on the target server.
  2. Navigate to Computer configuration > Policies > Administrative templates > Windows components > Remote Desktop Services > Remote Desktop Session Host > Security.
  3. Enable the Require use of specific security layer for remote (RDP) connections policy and set it to Negotiate.
    Require use of specific security layer for remote RDP connections policy set to Negotiate
  4. Force changes to the GPO by running the following command:
    gpupdate /force
Loading
Okta Advanced Server Access and Privileged Access RDP Fails From macOS or Linux Clients and Gateways | Okta Support