Tbs app authentication error while connecting

When connecting to a terminal server running Windows Server 2008 or Windows Server 2008 or Windows Server 2008 R2

  • 2 minutes to read

This article provides a solution to various certificate-related error messages when you connect to a terminal server.

Original product version: Windows Server 2012 R2
Original KB number:   2000960

Problem Description

You receive one of the following error messages when you connect to a terminal server running Windows Server 2008 or a remote desktop server running Windows Server 2008 R2:

Remote desktop connection failed because the remote computer cannot be authenticated

The remote computer could not be authenticated due to problems with the security certificate. It may be unsafe to continue.

Name conflict
Requested remote computer is
The name in the certificate is

Certificate error
The following errors occurred while verifying the remote computer's certificate: The server name on the certificate is incorrect.

You cannot continue because authentication is required.

The identity of the remote computer cannot be verified. Would you like to connect anyway?

The remote computer could not be authenticated due to problems with the security certificate. It may be unsafe to continue.

Name conflict
Requested remote computer is
The name in the certificate is

Certificate error
The server name on the certificate is incorrect.
The certificate is not from a trustworthy certification authority.

Do you want to connect despite these certificate errors?

root cause

The problem occurs because an incorrect certificate is used to create the Terminal Server or Remote Desktop session.

solution

Here are the steps to verify the selected certificate:

  1. Open the Terminal Services configuration window in Windows Server 2008 or the RD session host configuration in Windows Server 2008 R2.
  2. Open the properties dialog box the RDP-Tcp connection.
  3. Check on the General tab the selected certificate. Make sure you choose a correct certificate to create Terminal Server Sessions or Remote Desktop Sessions.