"Unable to read RD Gateway Server Settings" when trying to configure RD Gateway

I'm trying to install a Remote Desktop Gateway on a server 2008 R2 but when I load RD Gateway Manager to configure the service, there is no servers specified in the console. When I try to connect to it manually, it returns the following error:

"Unable to read RD Gateway Server Settings"

There are no errors or warnings in Event Viewer. I can verify that C:\Windows\System32\tsgateway\rap.xml exists and is readable.

I have already tried uninstalling and reinstalling the role service but still the same error.
NetonoAsked:
Who is Participating?
 
fluk3dConnect With a Mentor Commented:
have a quick look over this and then restart ts gateway service when done. Post back so I know where we stand with this problem.

http://technet.microsoft.com/en-us/library/cc775286(WS.10).aspx
0
 
NetonoAuthor Commented:
I saw that link before but since I am unable to start RD Gateway Manager i can't enable the audit logging
0
KuppingerCole Reviews AlgoSec in Executive Report

Leading analyst firm, KuppingerCole reviews AlgoSec's Security Policy Management Solution, and the security challenges faced by companies today in their Executive View report.

 
fluk3dCommented:
is there any events related to RD gateway services posting to the event viewer?
0
 
NetonoAuthor Commented:
The only error that appears in the Event Viewer is this:

"The Remote Desktop Gateway service does not have sufficient permissions to access the Secure Sockets Layer (SSL) certificate that is required to accept connections. To resolve this issue, bind (map) a valid SSL certificate by using RD Gateway Manager. For more information, see "Obtain a certificate for the RD Gateway server" in the RD Gateway Help. The following error occurred: "2148073494".

I have tried reinstalling the RD Gateway role and there choosing the right cert and also tried with the option"Choose later" but the problem still exists.
0
 
NetonoAuthor Commented:
Followed the instructions and found that the NETWORK SERVICE account did not have proper rights to the certificate. After restarting the Gateway service the error don't show in event viewer but sadly the problem with opening RD Gateway Manager persists:

"Unable to read RD Gateway Server Settings"
0
 
fluk3dCommented:
Ok perfect - are you able to reboot that server, not sure if it's in production right now. Please try reinstalling the role again if the reboot fails it will pick up the certificate and add it automatically to your ts settings
0
 
NetonoAuthor Commented:
thx for all help. The server is in production so I will try to reinstall the role later tonight and post back the result.
0
 
NetonoAuthor Commented:
After uninstalling all Roles associated with RD Gateway, rebooting, and installing them again solved the problem. The solution was probably the security right for the certificate: http://technet.microsoft.com/en-us/library/cc775286(WS.10).aspx   
0
 
fluk3dCommented:
Perfect glad it's working now
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.