Certificate Error - Remote Desktop

Kelly Garcia
Kelly Garcia used Ask the Experts™
on
Hi Guys,

When I try to remote desktop onto a few servers I get this error message:

"Your computer can't connect to the remote computer because the Remote Desktop Gateway server address requested and the certificate subject do not match."

Please help!
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Have you tried the FQDN name.. you can open the gateway and look at the SSL certs to see what it wants..

You might be using

server1

but the SSL is for

sever1.domain.com
Kelly GarciaSenior Systems Administrator

Author

Commented:
I've tried the ip address
Kelly GarciaSenior Systems Administrator

Author

Commented:
I am not on the domain so I have to use an ip adresss
OWASP Proactive Controls

Learn the most important control and control categories that every architect and developer should include in their projects.

Technical Consultant
Commented:
Use the FQDN or update the host file with FQDN names.. it will solve the problem...
Kelly GarciaSenior Systems Administrator

Author

Commented:
wheres the host file?
Kelly GarciaSenior Systems Administrator

Author

Commented:
I am on windows 8
c:\windows\system32\drivers\etc\
akalyan911Technical Consultant

Commented:
Hi Kay,

Try this.. it will work out..

The error message indicates either because you used the TS Gateway NetBIOS name to connect or the administrator has incorrectly configured the TS Gateway certificate name with an internal FQDN name. You can verify the discrepancy by reviewing the server certificates via two Field.
1. Subject -> value matches External FQDN of the Gateway server.
2. Subject Alternative Name -> if value matches External FQDN of the Gateway server.
To configure the certificate for the RD Gateway, you can refer to this document.
http://technet.microsoft.com/en-us/library/cc732329.aspx
akalyan911Technical Consultant

Commented:
Yes correct.. edit the host file.. under the C:\Windows\System32\drivers\etc\hosts
Kelly GarciaSenior Systems Administrator

Author

Commented:
I am going through a remote desktop gateway server, I am just trying the host file now.
Kelly GarciaSenior Systems Administrator

Author

Commented:
I know get a different error message, it says the two computers couldn't connect in the amount of time allotted - this is after I edited the host file and attempted to connect.
Since you, it seems, are not the admistrator of the server.  I would suggest you contact that person and tell them you are getting an SSL error for mismatched name.  You can also on the Remote Desktop Program change that it warn you but still connect.  Reverse all changes you made to you host file.
RDP-SSL.png

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial