Why Does the System Display Invalid Certificate or Associated Chain When I Log In to a Windows ECS from a Mac?
Symptom
When you use Microsoft Remote Desktop for Mac to remotely access a Windows ECS, the system displays invalid certificate or associated chain.
![Click to enlarge](https://support.huaweicloud.com/intl/en-us/ecs_faq/en-us_image_0000001122204673.png)
Due to the particularity of the Mac system, you need to perform internal configurations on Mac and the Windows ECS to ensure successful remote connection. When you log in to the Windows ECS using Microsoft Remote Desktop for Mac, the system displays an error message indicating that the certificate or associated chain is invalid.
![Click to enlarge](https://support.huaweicloud.com/intl/en-us/ecs_faq/en-us_image_0000001122141457.png)
Possible Causes
The group policy setting is incorrect on the ECS.
Procedure
- On the menu bar in the upper left corner, choose RDC > Preferences to open the preference setting page of the Microsoft Remote Desktop.
Figure 3 Preferences setting
- Select Security and modify the parameter settings according the following figure.
Figure 4 Security setting
- Remotely connect to the Windows ECS again. If the error message Invalid certificate or associated chain is still displayed, go to 4.
- Log in to the Windows ECS using VNC.
- Press Win+R to start the Open text box.
- Enter gpedit.msc to access the Local Group Policy Editor.
- In the left navigation pane, choose Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Security.
Figure 5 Remote Desktop Session Host
- Modify the following parameters as prompted:
- Enable Require use of specific security layer for remote (RDP) connections.
Figure 6 Require use of specific security layer for remote (RDP) connections
- Disable Require user authentication for remote connections by using Network Level Authentication.
Figure 7 Remote connection authentication
- Enable Require use of specific security layer for remote (RDP) connections.
- Close the group policy editor and restart the ECS.
Remote Login Errors on Windows FAQs
- Why Does an Authentication Failure Occurs After I Attempt to Remotely Log In to a Windows ECS?
- Why Can't I Use the Local Computer to Connect to My Windows ECS?
- How Can I Obtain the Permission to Remotely Log In to a Windows ECS?
- Why Does the System Display No Remote Desktop License Servers Available to Provide a License When I Log In to a Windows ECS?
- Why Does the System Display Error Code 0x112f When I Log In to a Windows ECS?
- Why Does the System Display Error Code 0x1104 When I Log In to a Windows ECS?
- Why Does the System Display Error Code 122.112... When I Log In to a Windows ECS?
- Why Does the System Display Invalid Certificate or Associated Chain When I Log In to a Windows ECS from a Mac?
- Why Does the System Display a Message Indicating Invalid Credentials When I Attempt to Access a Windows ECS?
- Why Does an Internal Error Occur When I Log In to My Windows ECS?
- Why Is My Remote Session Interrupted by a Protocol Error?
- Why Am I Seeing an Error Message That Says Identity of Remote Computer Cannot be Verified When I Log In to a Windows ECS?
- Why Am I Seeing An Error Message That Says The Two Computers Couldn't Be Connected in the Amount of Time Allotted When I Log In to a Windows ECS?
- Why Am I Seeing an Error Message That Says User Account is not Authorized for Remote Login When I Log In to a Windows ECS?
- Why Does My Remote Desktop Session End Because Another User Logs In When I Log In to a Windows ECS?
- Why Does BSOD Occur When I Log In to an ECS Using Remote Desktop Connection?
- Why Does an ECS Fail to Be Remotely Connected Using RDP and Internal Error Code 4 Is Displayed?
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbotmore