Remote Desktop Connection cannot verify the identity of the computer that you want to connect to. Try reconnecting to the Windows-based computer, or contact our administrator.
Case for mac.
Remote desktop certificate error
For Windows 10 access windows 10.
Local Computer Policy/Computer Configuration/Administrative Templates/ Windows Components/Remote Desktop Session Host/Security/
1, Change “Require use of specific security layer for remote(RDP) connections” to Enable.
2, Change “Require user authentication for remote connections by using Network Level Authentication” to Disable.
3, Restart main system./gpupdate /force
Then connect again. Resolved.