Fixing FreeRDP Certificate Issues in RHEL7 Linux

Sometimes connections from Red Hat Enterprise Linux (RHEL) to remote computers via RDP will fail if the remote computers have been physically rebuilt or had their software altered. This can be fixed by removing their old connection certificates from your home directory and accepting the remote machine’s new certificate. To do this:

1.    Open a terminal by pressing the Windows/Meta key, typing ‘terminal’ in the search box, and selecting the Terminal application from the resulting list.

2.    Run this command in the terminal window: 

sed -i '/^hostname/d' ~/.freerdp/known_hosts
  • a.    This will find the string hostname inside the file which contains the known remote desktop hosts and delete its identity, allowing it to be recreated when connecting to it again.
  • b.    Alternatively, you could run ‘gedit ~/.freerdp/known_hosts’, and remove the entire line which contains the hostname of the computer you are trying to connect to. In this case, it is ‘remote.mtu.edu’, so we will remove the line present in this file which starts with that hostname:

Gedit Screenshot

3.    Reconnect to the computer.
For more information on how to remotely connect to Windows computers, refer to this documentation.
 

Was this helpful?
0 reviews

Details

Article ID: 96506
Created
Fri 1/24/20 2:58 PM
Modified
Thu 7/23/20 10:16 AM