Windows: Open a rdp file ends up in a warning: Unknown publisher

Hi,

when you open a Remote Desktop rdp file you will get a warning: Unknown publisher.

Opening of an unsigned RDP File


This means the creator of the RDP file could not be verified, because the file is not digitally signed.

The solution is: Sign the file with an certificate which your computer or user account trusts.

An example. If your Computer has a Computer certificate (K

PS D:\> cd CERT:\
PS Cert:\LocalMachine\My\> dir


   PSParentPath: Microsoft.PowerShell.Security\Certificate::LocalMachine\My

Thumbprint                                Subject
----------                                -------
E09234CE44B9198A0CD5D1672C19C76D8445C21A  CN=myComputer.myDomain.org

rdpsign /sha256 E09234CE44B9198A0CD5D1672C19C76D8445C21A  "D:\Data\myHost.rdp"

Note: If you got an error: 0x8007000d The certificate needs at least the Keyusage: Digital Signatur and the ExtentedKeyUsage: Serverauthentification (1.3.6.1.5.5.7.3.1), Clientauthentification (1.3.6.1.5.5.7.3.2)

Michael

Advertisment to support michlstechblog.info

Leave a Reply

Your email address will not be published.

Time limit is exhausted. Please reload CAPTCHA.