Link to home
Start Free TrialLog in
Avatar of noclav
noclav

asked on

RDS and Port fowarding to a second RDS Server

I have a 2012 Server R2 Standard Hyper-V VM (Server1) that has Remote desktop services with all the roles on it. This is for Published Apps. I setup a second Hyper v VM (Server2) to replace Server1. I access Server1 by going to http://rds.domain.com/rdweb and the cert is for rds.domain.com. I can access this fine and open the apps.  I access Server2 by going to http://access.domain.com:8443/rdweb and the cert is for access.domain.com this is a self signed cert for now. When i go to http://access.domain.com:8443/rdweb and login and run an app i get this error " Your Computer cant connect to the remote computer because the remote desktop Gateway server address requested and the certificate subject name do not match." If i select view certificate i see the Server1 cert rds.domain.com.

I think this has to do with port 3389 and that when i launch the app its pointing to the server1. Is there a way to change the port on Server2 if this is the issue?
Avatar of Coralon
Coralon
Flag of United States of America image

The issue is pretty straightforward (mostly).  It is the fact that the RDP connection is being requested with a name that does not match the certificate used to connect.. it has nothing to do with the port.  

You need to either published your apps through server2 under the access.domain.com namespace or move your Server2 to the same RDP group as Server1 so that it uses the same name & same cert as Server1.

Coralon
ASKER CERTIFIED SOLUTION
Avatar of Luciano Patrão
Luciano Patrão
Flag of Portugal image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of noclav
noclav

ASKER

this works fine internally. Externally it does not so i would think its a port issue. Server2 will eventually replace server 1 but i want to test everything out before i remove server1.
Again - this is not a port issue.. your error message tells you this is a Certificate issue.

Coralon