Hello Ubaidullah Yoosoof Razeen,
I'm sorry to hear that you're experiencing issues with the SSL certificate on port 3389. Just to clarify, are you trying to connect to your physical PC using Remote Desktop Protocol (RDP) through your Azure Virtual Desktop? If so, the SSL certificate error may be related to the Remote Desktop Gateway (RD Gateway) server that is used to secure the RDP connection.
To troubleshoot this issue, you can try the following steps:
- Check the validity of the SSL certificate by opening the RD Gateway Manager and navigating to the SSL Certificate tab. Make sure that the certificate is not expired and that it matches the hostname of the RD Gateway server.
- If the certificate is valid, try resetting the RD Gateway server by restarting the Remote Desktop Gateway service or rebooting the server.
- If the issue persists, you can try disabling SSL certificate validation on the client side by adding the following registry key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Terminal Server Client\AuthenticationLevelOverride with a value of 0.
Please note that modifying the registry can be risky, so it's important to back up your registry before making any changes.
I hope this helps! Let me know if you have any further questions or concerns.
Best regards,
Qiuyang