Using Remote Desktop Connection to connect from Win7 to Win2008 Server R2, what is the difference in installing a self-signed certificate (for server authentication only) and installing a regular signed certificate? I know the difference between the certificates, but how do I install a signed certificate (which is normally used for a website domain) to use for server authentication only (used for connecting through Remote Desktop Connection)? I know I sound like someone paranoid, but I would like to understand the procedure necessary to replace the self-signed certificate with a signed certificate. Thanks for all the help and Have a great day!
A. Buy your cert. Like you say, it's the same as one you would get for a web site. Just make sure the name of it matches the name the users will go to for RDP.
B. Install the cert by doing this:
- Open MMC.
- Highlight Certificates and click Add.
- Select Computer Account and click Next.
- Select Local Computer and click Finish.
- Back in the MMC, highlight Certificates.
- From the View menu, select Options.
- Change the View mode to Certificate Purpose and then click OK.
- Expand the Certificates object.
- Right-click on Server Authentication and select All Tasks/Import.
- When the Certificate Import Wizard launches, click Next.
- On the File To Import, click Browse and then pick the .PFX file you got from your certificate authority and then click Open. Click Next.
- On the Password page, enter the password for the cert if there is one. Select the Mark this key as exportable option. Click Next.
- On the Certificate Store page, accept the default to automatically select the cert store.
- Click Finish.
C. Enforce SSL by doing this:
- Launch Terminal Services Configuration.
- In the left pane, highlight Terminal Services Configuration: .
- In the right pane, right-click on RDP-Tcp and select Properties.
- Click on the General tab.
- Next to Certificate:Auto generated, click Select.
- Select the cert you just imported and click OK.
- Change the Security layer from Negotiate to SSL and the Encryption level from Client Compatible to High. Also, select Allow connections only from computers running Remote Desktop with Network Level Authentication. Click OK.
D. If you're making this server accessible from your internal network to the internet, you then need to give it an external IP and have TCP port 3389 opened on the firewall.
E. Create an A record in DNS that matches exactly the name of the cert.
That should do it. Note that you'll want to review the security configuration in step C7 above to your preference - that config will lock it down nice and tight and will work for anyone running Vista or later.