Hello,
Based on your description, you need to configure RDP with an InCommon security certificate on Windows Server 2022, here are the detailed steps:
First, make sure you've obtained a security certificate from InCommon and exported it to .pfx format.
Then, press 'Win + R' and enter certlm.msc to open the certificate manager. In the Certificate Manager, expand Personal -> Certificates. Right-click the Certificates folder and select All Tasks -> Import. Follow the wizard prompts to select the .pfx file and make sure to import the certificate into your personal storage.
RDP certificates can be set up through Remote Desktop Services configuration or PowerShell.
Method 1: Configure via Server Manager
- Open Server Manager.
- In the left navigation, select Remote Desktop Services -> Deployment.
- In the Deployment Overview, click Tasks -> Edit Deployment Properties.
- In the Configure Deployment window, select Certificates.
- In the Certificates tab, select Select an existing certificate.
- Click Browse to find the .pfx certificate you imported.
- Enter the certificate password and tick Allow certificates to be added to the Trusted Root Certification Authority Certificate Store.
- Click OK to complete the configuration.
Method 2: Configure via PowerShell
- Open PowerShell with administrator privileges.
- Use the following command to find the thumbprint of the certificate:
Get-ChildItem -Path Cert:\LocalMachine\My
Find your InCommon certificate and make a note of its thumbprint.
- Use the following command to assign the certificate to the RDP service:
Set-Item -Path WSMan:\localhost\Service\CertificateThumbprint -Value <Certificate thumbprint>
Replace with the <Certificate thumbprint> fingerprint found in the previous step.
Finally, restart the RDP service, and then use the Remote Desktop client to connect to the server. If the configuration is successful, the client prompts that the connection is secure and displays the certificate information.
I hope this information helps.
Best regards,
Jingjing Wu