When attempting to remote desktop into an RDS gateway server, we are receiving the following error:
"Your computer can't connect to the remote computer because the Remote Desktop Gateway server's certificate has expired or has been revoked. Contact your network administrator for assistance."
The server is Windows Server 2008 R2, and we are positive the SSL certificate is valid. RDWeb is working fine and can be used to remote desktop other computers on the network without issue.
We have already tried reinstalling the RDS role and had the certificate reissued. We have been seeing this issue connecting from Windows 7, Server 2008, and from the Microsoft Remote Desktop app from iTunes. Oddly enough, if you keep trying, the connection will eventually succeed after a random number of times. On some systems, the connection succeeds nearly 100% of the time.
If it's showing the old certificate that has expired, click Select an existing certificate from the RD Gateway SERVER Certificates (Local Computer)/Personal store > then click on the Import Certificate button > select your recently renewed certificate > OK > RD Gateway Manager show now show the correct certificate. Test the RD Gateway again.
If you still don't see the new SSL certificate, restart the Remote Desktop Gateway service (NB: this may kick out everyone currently logged in via RD Gateway).
Let me know how you go.