Short answer: Remote Desktop shows this warning when the server you are connecting to uses its own self-signed certificate, which your PC has no way to check. If the name in the warning is your usual office server and you are connecting the normal way, it is safe to tick “Don’t ask me again for connections to this computer” and select Yes. If the name is unfamiliar, stop and call your IT team. Administrators can remove the warning for good by giving the server a certificate from a trusted authority.
The principal of an accounting firm emailed us a photo of a warning that popped up one morning when she connected to the firm’s Remote Desktop server. It said “The identity of the remote computer cannot be verified” and “The certificate is not from a trusted certifying authority”. She could still work, but sensibly wanted to know whether it was safe. We checked the name in the certificate. It was the firm’s own server using its built-in self-signed certificate, and nothing was wrong. Here is what the warning means, when it is safe to accept and how to stop it.
Fixed by Brendan Ramstadius, Senior Technician at GCIT. Written up by Elliot Munro, CISO.
Symptoms
When you start a Remote Desktop connection, a yellow warning appears before the sign-in:
The identity of the remote computer cannot be verified. Do you want to connect anyway?
The remote computer could not be authenticated due to problems with its security certificate. It may be unsafe to proceed.
The certificate is not from a trusted certifying authority.

The window shows the Name in the certificate from the remote computer, a View certificate button and a Don’t ask me again for connections to this computer tick box. Other wording you might see in the same box is “The name in the certificate does not match the name of the remote computer” or “The certificate has expired”. People search for this as “remote desktop certificate not from trusted certifying authority” or “RDP identity of the remote computer cannot be verified”.
Affected Software
- Application: Remote Desktop Connection (mstsc.exe) and the Windows App
- Platform: Connections to Windows Server Remote Desktop servers and to Windows 10 and 11 PCs
Cause
Remote Desktop encrypts the connection with TLS, and the server proves who it is with a certificate. If nobody has installed a certificate from a trusted certificate authority, Windows creates a self-signed one for the server automatically. Your PC cannot check a self-signed certificate against anyone it trusts, so it asks you.
The warning often appears “out of nowhere” because the self-signed certificate is replaced automatically from time to time, and your PC no longer recognises the new one. It can also appear the first time you connect from a new PC, after the server is rebuilt, or after someone clears saved Remote Desktop settings.
Resolution
For the person connecting
- Read the Name in the certificate from the remote computer. It should match the server name your IT team gave you, often ending in your office domain (for example something.local or your business name).
- Check that you are connecting the usual way, from your usual shortcut, VPN or remote access client.
- If both look right, tick Don’t ask me again for connections to this computer and select Yes. You will not be asked again for that server unless its certificate changes.
- If the name is unfamiliar, misspelled or not your company’s, or the warning says the name does not match, select No and contact your IT team.
For administrators: replace the self-signed certificate
- Domain environments: issue a certificate from your internal certificate authority using a Remote Desktop authentication template, and point session hosts at it with the Group Policy setting Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Security > Server authentication certificate template. Domain-joined PCs already trust the internal authority, so the warning disappears.
- RDS deployments with a gateway or web access: in Server Manager, open Remote Desktop Services > Deployment Properties > Certificates and assign a certificate from a public authority that covers the names users connect to.
- Single servers outside an RDS deployment: import the certificate into the computer’s Personal store and bind it to the RDP listener using the thumbprint, as described in Microsoft’s listener certificate article below.
- Test from a PC that has never connected before and confirm no warning appears.
Important Notes
- Do not get into the habit of clicking Yes everywhere. The warning exists to catch someone pretending to be your server. Accept it only for servers you know, and only when you are connecting the usual way.
- Never accept it for servers reached directly over the internet. Office servers should sit behind a VPN, Remote Desktop Gateway or zero trust access service, not be open to the internet on port 3389.
- A name mismatch is different. “The name in the certificate does not match” can mean a shortcut points at the wrong address, or something is intercepting the connection. Check it with IT before connecting.
- Ticking the box is per PC and per server. A new laptop will ask once, which is expected.
If Certify The Web is failing to renew an existing certificate, check its validation log before the certificate expires. See Certify The Web: Certificate Renewal Has Failed.
If Remote Desktop instead says “Authentication failed because NTLM authentication has been disabled”, the PC’s NTLM exception list is the place to look. See Remote Desktop: “NTLM Authentication Has Been Disabled”.
Related Resources
- Microsoft Learn: Remote Desktop listener certificate configurations
- Microsoft Learn: Remote Desktop Services planning and design
- Fix: RDP NLA “Domain Controller Cannot Be Contacted” Error
- Fix: “The Local Security Authority Cannot Be Contacted” in Remote Desktop
- Fix: Application Errors on Windows Server (Corrupted RDS Profile)
- GCIT managed IT services
If your team sees certificate warnings every time they connect, or you want your Remote Desktop setup reviewed, get in touch with our team.