Install Certificate in RDP-TCP properties

12,162

Your cert is either not importing correctly (so that it is associated with its private key), or it's in the wrong place, or it's not the right type of cert.

If you are installing it correctly the properties will tell you that it is associated with it private key, you will also see the key overlay on the cert icon indicating the same thing. If you're not seeing that then it isn't going to work.

As far as location is concerned it should be in the Personal Certificate store for the machine not the user. The correct way to import it so that it goes in the right place is to open the MMC as administrator, add the Certificates plug in and select the option to use the computer account. Then select the personal store, right click, All Tasks and then import from there.

However it seems most likely to me that the certificate does not have the correct Extended Key Usage OID value in the EKU list. For a certificate to be used for RDP it must have Server Authentication ( 1.3.6.1.5.5.7.3.1 ) somewhere in the list. This is mentioned as the required OID in this Technet article that expands on the requirements for TS certificates in a bit more detail.

There is also a chance that you may have problems if the server name does not match the certificate name - I can't find anything that says they must match but it wouldn't surprise me if they had to.

Share:
12,162

Related videos on Youtube

Frode Lillerud
Author by

Frode Lillerud

Updated on September 17, 2022

Comments

  • Frode Lillerud
    Frode Lillerud over 1 year

    I'm trying to get certificates to work on our Windows 2008 Terminal server. Currently when we log on using RDP 6.1 client we get an certificate warning saying that the rdp.geas.local certificate is not trusted.

    I've got a certificate for our external.com address, which we use on our Exchange 2007 server, and I'm trying to install the same certificate on our terminalserver.

    However, when I got to Terminal Services Configuration->RCP-TCP Properties and click Select to bring up the Certificate selector dialog I'm only able to choose the self-signed certificate for the local machine.

    alt text

    I've installed our valid certificate in the Trusted Root Certificates, Personal and Third-Party Root Certificates, but it still won't show up as a choice in the RDP-TCP Properties dialog.

    Does it require a specific certificate type, or am I just installing the Certificate in the wrong store?

  • Frode Lillerud
    Frode Lillerud over 13 years
    Thank you for a good answer. - I see that the icon does not have a key overlay, and it does not say that I have a private key. That's probably the reason then. - The certificate does have the 1.3.6.1.5.5.7.3.1 Server Authentication Enhanced Key Usage. - The server only has a internal server name, it does not match the public name used in the certificate.