How to Configure Certificates for an RDS Deployment

configure-rds-deployment-certificates-cover

How to Configure Certificates for an RDS Deployment

An RDS deployment can use several certificate assignments, even when multiple roles run on the same server. Each assignment serves a particular purpose, so one successful import does not prove the whole deployment is configured.

This guide covers deployment certificates managed through Server Manager. Session Host RDP listener certificates and MFA extension certificates have separate configuration and renewal requirements.

Before You Begin

  • An existing Windows Server 2022 or 2025 RDS deployment and an account authorized to manage it.
  • The names clients use for RD Web Access, RD Gateway and the brokered connection.
  • A CA-issued certificate appropriate for the intended role, with Server Authentication usage, an exportable private key and a password-protected PFX export.
  • A chain trusted by the relevant clients and servers, plus a pilot account and external test client where a gateway is used.
  • one

    Map the certificate assignments

    Open Server Manager → Remote Desktop Services → Overview → Tasks → Edit Deployment Properties → Certificates. Record the current assignments and the services present in your deployment.

    RDS deployment certificate roles

    Deployment role PowerShell role Purpose
    RD Gateway RDGateway Gateway endpoint identity and TLS.
    RD Web Access RDWebAccess HTTPS identity for the portal and feed.
    RD Connection Broker — Enable Single Sign On RDRedirector Broker connection authentication supporting SSO.
    RD Connection Broker — Publishing RDPublishing Signing published RDP connection files.
  • two

    Match certificate names to the connection design

    For HTTPS endpoints, compare the exact client-facing hostname with the certificate's Subject Alternative Name entries. Include the appropriate broker client-access name in the broker certificate design. Do not assume an internal computer name covers a public alias.

    Separate certificates can be used for separate roles. A shared certificate is suitable only when its names, purposes and key-handling policy fit every intended assignment. Record which PFX belongs to each role before proceeding.

  • three

    Inspect the PFX and trust chain

    Confirm the certificate is currently valid, includes the correct intended usage and has its private key. A public .cer file alone cannot supply the private key needed for these role assignments.

    Make the required root and intermediate CA certificates available through your approved trust-distribution process. Clients need public CA certificates to establish trust; they should not receive the server's PFX or private key.

  • four

    Apply the certificate to the intended role

    In the Certificates page, select a role and choose Select existing certificate. Browse to its PFX, enter the password and confirm. Review any trust-store prompt under your certificate policy, apply the change and wait for deployment status to complete.

    Repeat for each intended role, selecting the appropriate PFX each time. Server Manager distributes the certificate for the selected deployment role, but you should still verify all serving endpoints and any separate load balancer or TLS terminator.

  • five

    Use PowerShell for a repeatable assignment when needed

    The following alternative assigns only the RD Web Access certificate. Run elevated Windows PowerShell with the RemoteDesktop module, replace the example broker and PFX path, and inspect any confirmation before proceeding.

    PowerShell

    Import-Module RemoteDesktop
    $pfxPassword = Read-Host 'PFX password' -AsSecureString
    Set-RDCertificate -ConnectionBroker 'rdcb01.ad.example.com' `
      -Role RDWebAccess -ImportPath 'C:\Secure\rdweb.pfx' `
      -Password $pfxPassword
    
    Get-RDCertificate -ConnectionBroker 'rdcb01.ad.example.com' |
      Format-List Role, Level, Subject, SubjectAlternateName, ExpiresOn, Thumbprint

    Select another role only when the certificate is intended for it. Keep passwords out of scripts and remove temporary PFX copies according to your key-handling policy.

  • six

    Validate each user-facing path

    Open RD Web Access using the approved hostname, refresh the feed and launch a newly generated desktop or RemoteApp connection. For gateway access, test from outside the network and verify the gateway's presented certificate.

    Review publisher prompts separately from endpoint name or trust warnings. Check SSO behavior only after its authentication prerequisites are configured; a certificate assignment alone does not establish every SSO setting. Record the final thumbprints and expiration dates.

Frequently Asked Questions

Can one certificate be used for every deployment role?

It can be, when its names and usages meet the deployment's requirements and your key policy permits sharing. RDS still maintains separate role assignments.

Does this replace every Session Host listener certificate?

Admin Note: A certificate shown as trusted in deployment properties is not proof that every external client trusts the chain. Verify from the clients and names users actually use.

Planning Your RDS Deployment?

Review the RDS CAL requirements for your Session Hosts and users alongside your deployment configuration.

Author Bio

Mr. Keloth leads technical implementation at RDS CAL Store. He specializes in Remote Desktop Services infrastructure, secure remote architecture, and helping IT teams seamlessly scale their official licensing.

Microsoft Certified Professional

MCSE MCSA MCTS MCP MCP+I A+ Security+

With over 20 years of experience deploying and managing enterprise Windows Server environments, Keloth leads technical implementation at RDS CAL Store. He specializes in Remote Desktop Services infrastructure, secure remote architecture, and helping IT teams seamlessly scale their official licensing.

Related Posts

Understanding RDS CAL Downgrade Rights

July 12, 2025

Home – Understanding RDS CAL Downgrade Rights Understanding RDS CAL Downgrade Rights When managing a Remote Desktop Services environment, hardware and software upgrades rarely happen all at once. You might purchase new Client Access Licenses (CALs) today, but still need them to authorize connections to older servers running in your datacenter. Microsoft accommodates this reality…

How to Disable Remote Desktop Easy Print in Windows Server (2016-2025)

July 12, 2025

Home – How to Disable Remote Desktop Easy Print in Windows Server (2016-2025) How to Disable Remote Desktop Easy Print in Windows Server (2016-2025) Remote Desktop Easy Print is the default driver Windows uses to map local client printers into a remote session. While convenient, it strips away advanced printer features (like stapling, tray selection,…

How to Create a Remote Desktop User in Windows Server (2016, 2019, 2022 & 2025)

July 12, 2025

Home – How to Create a Remote Desktop User in Windows Server (2016, 2019, 2022 & 2025) How to Create a Remote Desktop User in Windows Server (2016, 2019, 2022 & 2025) Provisioning remote access for a new employee requires more than just creating a standard Windows account. To securely connect to a Session Host,…

How to Fix the CredSSP “Encryption Oracle Remediation” RDP Error

July 12, 2025

Home – How to Fix the CredSSP “Encryption Oracle Remediation” RDP Error How to Fix the CredSSP “Encryption Oracle Remediation” RDP Error If you are managing Windows Servers, you have likely encountered this terrifying error message when trying to connect via Remote Desktop: “An authentication error has occurred. The function requested is not supported… This…