Certificate error when connecting to Remote Apps

Farkhondeh, Eddie 96 Reputation points
2020-08-15T17:09:15.733+00:00

Hi,

Recently setup a new environment for Remote Desktop Services, two Connection Brokers, Two Web Access, Two Gateways and two session hosts servers. Third party certificate installed installed couple of apps and published on RDWeb when when I connect to RDWeb site and try to run the application get the following error. All server are load balanced using Kemp

Unable to connect to remote apps, error : The connection has been terminated because an unexpected server authentication certificate was received from the remote computer

Remote Desktop
Remote Desktop
A Microsoft app that connects remotely to computers and to virtual apps and desktops.
4,400 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Jon Alfred Smith 541 Reputation points
    2020-08-16T03:48:34.343+00:00

    Depending on your configuration, have you added the certificate to your Kemp LoadMaster?

    How To Import SSL Certificates To Your LoadMaster
    https://support.kemptechnologies.com/hc/en-us/articles/115003853166-How-To-Import-SSL-Certificates-To-Your-LoadMaster

    Put another way, does it work if you directly access one of your serveres and not through the LoadMaster?

    0 comments No comments

  2. Jenny Yan-MSFT 9,336 Reputation points
    2020-08-17T05:30:30.503+00:00

    Hi,
    1.Have you got a chance to go through the deployment guidance for Remote-Desktop-Services with Kemp?
    If there is connection rejected, kindly ensure the same SSL certificate on the LoadMaster and on the RD Gateway server.
    https://support.kemptechnologies.com/hc/en-us/articles/203858115-Remote-Desktop-Services#MadCap_TOC_2_2_..14
    Please check the certificate related steps in Prerequisites section as well as the troubleshooting.
    Note: Information posted in the given link is hosted by a third party. Microsoft does not guarantee the accuracy and effectiveness of information.

    2.Besides the error message, please kindly check if any relevant event logs in both server and client side.
    Event log checking:

    TerminalServices-RemoteConnectionManager and TerminalServices-LocalSessionManager logs to view information about connections.

    Step 1: Press Windows+R to open the Run dialog, enter eventvwr (or eventvwr.msc) and hit OK.

    Step 2: Navigate to Event Viewer\ Applications and Services Logs\ Microsoft\ Windows\ TerminalServices-*

    3.Please confirm OS version of both server and client that started the remote session.

    4.Instead of opening the rdweb, will you get the error if remoting directly to the session host and open the application?

    -----Please "Accept as answer" if the reply is helpful-----

    Best regards,
    Jenny