Home

Windows Admin Center behind IIS Proxy

%3CLINGO-SUB%20id%3D%22lingo-sub-281490%22%20slang%3D%22en-US%22%3EWindows%20Admin%20Center%20behind%20IIS%20Proxy%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-281490%22%20slang%3D%22en-US%22%3E%3CP%3EIs%20there%20a%20way%20to%20access%20the%20WAC%20behind%20a%20IIS%20proxy%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eactual%20I%20receive%20the%20following%20message%20when%20I%20try%20to%20do%20that%3A%3C%2FP%3E%3CH2%20id%3D%22toc-hId-1652003232%22%20id%3D%22toc-hId-1730588983%22%20id%3D%22toc-hId-1730588983%22%20id%3D%22toc-hId-1730588983%22%20id%3D%22toc-hId-1730588983%22%3E502%20-%20Web%20server%20received%20an%20invalid%20response%20while%20acting%20as%20a%20gateway%20or%20proxy%20server%3C%2FH2%3E%3CP%3EIf%20it's%20possible%20can%20you%20post%20the%20rewrite%20rules%20to%20this%20forum%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-282334%22%20slang%3D%22en-US%22%3ERE%3A%20Windows%20Admin%20Center%20behind%20IIS%20Proxy%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-282334%22%20slang%3D%22en-US%22%3EOk%2C%20I%20have%20found%20the%20problem%3A%20It's%20a%20bad%20idea%20to%20use%20a%20(un-trusted)%20self%20signed%20certificate.%20After%20I%20have%20assign%20a%20certificate%20from%20my%20certificate%20authority%20it%20works%20how%20excepted.%20The%20next%20trap%20was%20the%20using%20of%20the%20%22websocket%22%20protocol%20in%20the%20communication%20to%20events%2C%20powershell%20and%20remote%20desktop.%20But%20this%20issue%20is%20described%20in%20the%20FAQ%20and%20after%20I%20have%20enabled%20the%20feature%20on%20the%20IIS%20I%20can%20access%20(theoretical)%20from%20anywhere%20to%20the%20servers.%20Now%20all%20works%20great%20and%20I'm%20very%20happy.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-670710%22%20slang%3D%22en-US%22%3ERE%3A%20Windows%20Admin%20Center%20behind%20IIS%20Proxy%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-670710%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F237510%22%20target%3D%22_blank%22%3E%40Thomas%20Heuberger%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20know%20it's%20been%20a%20while%2C%20but%20I%20am%20having%20no%20end%20of%20trouble%20trying%20to%20get%20this%20working.%20Initially%20it%20was%20the%20SSL%20certificate%2C%20which%20is%20now%20fixed%2C%20but%20now%20I%20just%20get%20repeated%20password%20prompts%2C%20and%20constant%20401%20responses%20from%20server%20%26gt%3B%20client.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDid%20you%20follow%20a%20guide%20to%20get%20everything%20(except%20websockets%20obviously)%20working%3F%20Could%20you%20share%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E
Thomas Heuberger
Occasional Contributor

Is there a way to access the WAC behind a IIS proxy?

 

actual I receive the following message when I try to do that:

502 - Web server received an invalid response while acting as a gateway or proxy server

If it's possible can you post the rewrite rules to this forum?

2 Replies
Ok, I have found the problem: It's a bad idea to use a (un-trusted) self signed certificate. After I have assign a certificate from my certificate authority it works how excepted. The next trap was the using of the "websocket" protocol in the communication to events, powershell and remote desktop. But this issue is described in the FAQ and after I have enabled the feature on the IIS I can access (theoretical) from anywhere to the servers. Now all works great and I'm very happy.

@Thomas Heuberger 

I know it's been a while, but I am having no end of trouble trying to get this working. Initially it was the SSL certificate, which is now fixed, but now I just get repeated password prompts, and constant 401 responses from server > client.

 

Did you follow a guide to get everything (except websockets obviously) working? Could you share?