I am testing the reverse proxy on windows 2008 r2 IIS 7.5
When using http everything works fine.
when adding https between the client and the reverse proxy, everything works fine.
but when I add https between the reverse proxy and the internal server,I get:
"502 - Web server received and invalid response while acting as a gateway or proxy server"
I have installed 2 different certificates at the proxy and at the server but I presume they work, Since I have no problems opening this https page from the reverse proxy...
(And I do not get certificate errors or warnings of any kind...)
I guess i missed something at the iis configuration...
I have written a simple URL rewrite rule which only points to
(which works when I change it to http.)
I also tried it with\without "Enable SSL Offloading"
(I did not define a server-farm, dont know if its necessary)
What could be the problem? can I somehow debug the error and see what went wrong?