Solved: How do I fix RemoteApp Disconnected error because Gateway server’s certificate has expired or has been revoked?

Problem Symptom

The detailed error message is as below:

RemoteApp Disconnected

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.

Solved: How do I fix RemoteApp Disconnected error because Gateway server's certificate has expired or has been revoked?

Follow the below solution steps to resolve RemoteApp Disconnected error because Gateway server’s certificate has expired or has been revoked.

Solution

Make sure your CRL settings and/or OCSP settings are correct if you use self signed certificates.

Make sure your client can contact the publishers CRL if you use a publicly signed certificate.

In the Gateway Server, launch Server Manager > Remote Desktop Services > Collections > {Collection-name} > Tasks > Edit Deployment Properties.

In the Gateway Server, launch Server Manager > Remote Desktop Services > Collections > {Collection-name} > Tasks > Edit Deployment Properties.

Click on the Certificates > RD Gateway > View Details > Check the date is still valid.

Click on the Certificates > RD Gateway > View Details > Check the date is still valid.