+ Post New Thread
Results 1 to 9 of 9
Windows Server 2012 Thread, RDS Gateway Certificate problem in Technical; I have purchased a certificate in the name of my servers external FQDN . I have installed successfully as far ...
  1. #1

    fiza's Avatar
    Join Date
    Dec 2008
    Location
    London
    Posts
    2,196
    Thank Post
    440
    Thanked 318 Times in 269 Posts
    Rep Power
    153

    RDS Gateway Certificate problem

    I have purchased a certificate in the name of my servers external FQDN . I have installed successfully as far as I can see.
    When I connect remotely I get as far as the RDP file opening and then get an error stating that "The hostname in the server certificate does not match the computer you are connecting to."

    I am guessing this is because the external and internal names of the server are different.

    How can I resolve this?

  2. #2

    john's Avatar
    Join Date
    Sep 2005
    Location
    London
    Posts
    10,362
    Thank Post
    1,499
    Thanked 1,053 Times in 922 Posts
    Rep Power
    303
    Split DNS so you can access remote.domain.sch.uk via its internal IP when inside school and via its public when outside?

  3. #3

    fiza's Avatar
    Join Date
    Dec 2008
    Location
    London
    Posts
    2,196
    Thank Post
    440
    Thanked 318 Times in 269 Posts
    Rep Power
    153
    Quote Originally Posted by john View Post
    Split DNS so you can access remote.domain.sch.uk via its internal IP when inside school and via its public when outside?
    Its for RDS access so only would be accessed externally.
    How do you set up split dns?

  4. #4

    john's Avatar
    Join Date
    Sep 2005
    Location
    London
    Posts
    10,362
    Thank Post
    1,499
    Thanked 1,053 Times in 922 Posts
    Rep Power
    303
    Oh sorry I miss-understood your question I thought you were having the same issue a few have on here where they go server.local internally VS remote.school.sch.uk from home errors.

  5. #5

    Join Date
    Mar 2009
    Location
    Herefordshire
    Posts
    25
    Thank Post
    7
    Thanked 4 Times in 3 Posts
    Rep Power
    12
    What makes you think it's the internal/external name mismatch? With the error message, which name is it complaining about? The RD Gateway server, or the internal PC you are trying to RDP to through the RD Gateway server?

    I believe there are a few places you need to ensure the RD Gateway name is set correctly in the MSC snap in, and it eventually then stops moaning (mostly) about the SSL naming etc. But you're sadly never truly rid of the warnings - I still get a yellow warning, and I also still get warnings about internal computers not having any certificate installed.

  6. Thanks to Fivetwelve from:

    fiza (20th February 2014)

  7. #6

    Join Date
    Apr 2010
    Posts
    2,070
    Thank Post
    85
    Thanked 189 Times in 156 Posts
    Rep Power
    84
    Same as above. I have a cert with our external fqdn and it complained about external and internal names not matching. Go over all the settings and then go back over them again. Off work this week but if you are still having issues next week give me a shout and I will get my notes over to you.

  8. Thanks to edutech4schools from:

    fiza (20th February 2014)

  9. #7

    fiza's Avatar
    Join Date
    Dec 2008
    Location
    London
    Posts
    2,196
    Thank Post
    440
    Thanked 318 Times in 269 Posts
    Rep Power
    153
    Quote Originally Posted by Fivetwelve View Post
    What makes you think it's the internal/external name mismatch? With the error message, which name is it complaining about? The RD Gateway server, or the internal PC you are trying to RDP to through the RD Gateway server?

    I believe there are a few places you need to ensure the RD Gateway name is set correctly in the MSC snap in, and it eventually then stops moaning (mostly) about the SSL naming etc. But you're sadly never truly rid of the warnings - I still get a yellow warning, and I also still get warnings about internal computers not having any certificate installed.
    Its complaining that the certificate is server.school.sch.uk and the remote computer it is connecting to is server.domain.school.sch.uk. So its complaining about the internal name not matching the external name and hence the certificate.

  10. #8

    fiza's Avatar
    Join Date
    Dec 2008
    Location
    London
    Posts
    2,196
    Thank Post
    440
    Thanked 318 Times in 269 Posts
    Rep Power
    153
    Quote Originally Posted by edutech4schools View Post
    Same as above. I have a cert with our external fqdn and it complained about external and internal names not matching. Go over all the settings and then go back over them again. Off work this week but if you are still having issues next week give me a shout and I will get my notes over to you.
    I have been over the settings several times but as I don't know where it I am going wrong I don't know what to change. If you can pm me your notes next week that would be great.

  11. #9

    Join Date
    Mar 2009
    Location
    Herefordshire
    Posts
    25
    Thank Post
    7
    Thanked 4 Times in 3 Posts
    Rep Power
    12
    Quote Originally Posted by fiza View Post
    Its complaining that the certificate is server.school.sch.uk and the remote computer it is connecting to is server.domain.school.sch.uk. So its complaining about the internal name not matching the external name and hence the certificate.
    Hmm, as far as I know it will always complain about the internal computer DNS name because there isn't really an easy way to install the certificate on the internal machine?

SHARE:
+ Post New Thread

Similar Threads

  1. 2008 R2 RD Gateway issues with Windows 7
    By Jonah in forum Windows Server 2008 R2
    Replies: 2
    Last Post: 12th June 2012, 12:07 PM
  2. New Certificate Problem
    By pritchardavid in forum Windows
    Replies: 4
    Last Post: 28th January 2012, 12:06 AM
  3. rds gateway
    By strawberry in forum Thin Client and Virtual Machines
    Replies: 2
    Last Post: 27th August 2010, 11:10 PM
  4. RD Gateway and RD Services
    By wesleyw in forum Windows Server 2008 R2
    Replies: 7
    Last Post: 23rd March 2010, 03:02 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •