Nota: Este artigo foi publicado originalmente em 2013. Alguns passos, comandos ou versões de software podem ter mudado. Consulte a documentação atual de Windows Servers para as informações mais recentes.
Replacing Self Signed (http://en.wikipedia.org/wiki/Remote_Desktop_Services “Remote Desktop Services”) Certificate on (http://www.microsoft.com/WINDOWS “Windows”)
So one of the reasons why we moved from a .local domain environment to a corp.Bauzas.com Active Directory domain name was so that we could use a public (http://en.wikipedia.org/wiki/Certificate_authority “Certificate authority”) certificates for Remote Desktop Services. We used to rely on self signed certificates and then moved to using the corporate CA but when using devices that do not have the enterprise CA’s (http://en.wikipedia.org/wiki/Root_certificate “Root certificate”) installed we struggled a little. Moving to public CA certificates seemed to make sense and does let us avoid trouble like making our CA publicly accessible, etc. Regardless, the next challenge we faced was that I have only used the “Remote Desktop Session Host Configuração” to select which certificate to use for Remote Desktop Services. To my shock (I guess not really) this tool is not readily available with (http://www.microsoft.com/en-us/server-cloud/windows-server/default.aspx “Windows Server 2012”) or a Windows Workstation. You can probably install it as you enable the appropriate role/feature but that seemed like too much work. Instead it seems you can simply use the certificate management console and place the certificate you want to use in the right folder. I recommend you go the normal route before you try to simply force another certificate into the store.
**To run Remote Desktop Session Host Configuração from the(http://en.wikipedia.org/wiki/Start_menu “Start menu”) **
- Click Start , point to Administrative Tools , point to Remote Desktop Services , and then click Remote Desktop Session Host Configuração.
- Click Start , click Run , type tsconfig.msc and then press ENTER.
To run Remote Desktop Session Host Configuração from Server Manager
- Click Start , point to Administrative Tools , and then click Server Manager.
- In the left pane, expand Roles.
- Expand Remote Desktop Services , and then click Remote Desktop Session Host Configuração.
**To run Remote Desktop Session Host Configuração from the(http://en.wikipedia.org/wiki/Microsoft_Management_Console “Microsoft Management Console”) **
- Click Start , click Run , type mmc and then press ENTER.
- On the File menu, click Add/Remove Snap-in.
- Under Available snap-ins , click Remote Desktop Session Host Configuração , and then click Add.
- In the Select Computer dialog box, select whether you want to connect to the local computer or to another computer. If you select Another computer , either type in the name of the computer or use Browse to search for the computer.
- Click OK.
- In the Add or Remove Snap-ins dialog box, click OK.
If all that fails then here is how you replace the certificate on the certificate store:
- Open mmc.exe (Microsoft Management Console)
- Add the add-in certificates (for the computer account) (and select local computer)
- Navigate to the remote desktop folder -> certificates
- Delete the certificate for the name of the server
- Right click the Certificates folder under Remote Desktop and select Import
- Import the certificate you wish to use for your Remote Desktop Services
This seems to have worked for me… but then again if you can use the regular Remote Desktop Session Host Configuração I would do so.
(http://img.zemanta.com/zemified_e.png?x-id=8db3058e-3068-4689-848d-c72e274fb977)](http://www.zemanta.com/?px “Enhanced by Zemanta”)
Artigos Relacionados
- [How to: ](/change-product-key-windows-8-windows-server-2012/)
- [](/communication-with-the-underlying-transaction-manager-has-failed/)
- How to: Configure your Domain Server to sync the time over the Internet (Network Time Protocol - NTP)
- How to: Delete a DHCP Failover relationship when the partner server is unreachable