Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 27852

ARR & URL Rewrite configured as Reverse proxy for WebServices in clear and with SLL

$
0
0
Hi, I'm trying to use ARR & URL Rewrite configured as a reverse proxy in order to have the following configuration (IIS 7.5): 1. WebService1 (does not use SSL) - 192.168.1.20/WebService/Service1.svc 2. WebService2 (uses SSL, no client certificate) - 192.168.1.21/WebService2/Service2.svc 3. WebServer IIS 7.5 to redirect. 192.168.1.2/WebService1/Service1.svc to 192.168.1.20/WebService/Service1.svc 192.168.1.2/WebService2/Service2.svc to 192.168.1.21/WebService2/Service2.svc I've managed to get Webservice1 working, but the configuration to get webservice2 working is eluding me. What I did so far: 1. Configured Inbound Rules for WebService1: - Pattern: ^WebService1/(.*) - Using Regular Expressions - RewriteURL: http://192.168.2.20/WebService/{R:1} - Stop Processing of subsequent rules. 2. Configure Inbound Rules for WebService2: - Pattern: ^WebService2/(.*) - Using Regular Expressions - Conditions: {HTTPS}, Matches, On - RewriteURL: http://192.168.2.21/WebService2/{R:1} - Stop Processing of subsequent rules. With this configuration if i accessed the https://192.168.1.2/WebService2/Service2.svc i would get no response from IIS. So I added an application that uses a self signed certificate just so IIS is also listening on port 443. After this, I now get the response of 502.3 Bad Gateway: - Module ApplicationRequestRouting - Notification ExecuteRequestHandler - Handler ApplicationRequestRoutingHandler - Error Code 0x80072f8f I also tried using the SSL Offloading, but it seems it is not what i want, since if offloads SSL while communicating with WebService2, which cannot happen, since it requires it. Basically I want the client to access to the 2 different web servers, using HTTP and HTTPS for each service, but through the routing server. Thanks in advance, Alexandre

Viewing all articles
Browse latest Browse all 27852

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>