Sometimes connections from Red Hat Linux 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:
sed -i '/^hostname/d' ~/.config/freerdp/known_hosts2