hi,
we can refer below website first
Certificate error trying to remote desktop to WHS
https://social.microsoft.com/Forums/en-US/07b7c2de-8634-4466-82c7-fe0e0c261551/certificate-error-trying-to-remote-desktop-to-whs?forum=whssoftware
certificate error at remote access login
https://social.microsoft.com/Forums/en-US/ecd1e5f8-8ac7-4ab4-896a-1ba3327ded90/certificate-error-at-remote-access-login?forum=whshardware
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact
tnmff@microsoft.com.