Nginx is the reverse proxy+ MS Remote Desktop Gateway using SSL, the
first
authentication is working, the problem is when I try to open a program
in
this environment for example wordpad.exe of session host RD, it ask for
user and password (I use the same credentials used to connect in RD
Gateway), when the credentials are filled up again, I get the message
user
or password are wrong.
My .conf for the context:
location /RDWeb { <--- the same context context in IIS
proxy_pass https://server.domain/RDWeb;
proxy_set_header Accept-Encoding "";
proxy_set_header host server.domain;
}
location /rpc { <-- the same context context in IIS
proxy_pass http://server.domain/rpc;
}
In the log of nginx with debug mode on, show this information:
2014/10/17 09:06:02 [info] 20589#0: *43 client x.x.x.x closed keepalive
connection(this is the only message)
On Fri, Oct 17, 2014 at 08:24:18AM -0400, timbo wrote:
Hello all,
Nginx is the reverse proxy+ MS Remote Desktop Gateway using SSL, the first
authentication is working, the problem is when I try to open a program in
this environment for example wordpad.exe of session host RD, it ask for
user and password (I use the same credentials used to connect in RD
Gateway), when the credentials are filled up again, I get the message user
or password are wrong.
Make sure that Basic authentication is used, not NTLM aka
Integrated Windows Authentication. The latter has problem with
proxy servers due to it’s connection-oriented design, and will not
work though nginx.
I’ve tried a lot of commands, stream is not recognized and I don’t think
it’s possible to make it work. nginx need a certificate and RD Gateway
need
also a certificate, so there are 2 SSL connection between the client and
the
server, it’s can’t work.
I also tried with the same certificate on the 2 connections, but without
success…
I’ve tried a lot of commands, stream is not recognized and I don’t
think it’s possible to make it work. nginx need a certificate and RD
Gateway need also a certificate, so there are 2 SSL connection between
the client and the server, it’s can’t work.