cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2402
Views
0
Helpful
1
Replies

IIS Reverse Proxy for finesse https URL

arulselvanj
Level 1
Level 1

Hi,

We tried reverse proxy for non gadget finesse application, working good with http but while we trying https URL getting below error.

HTTP Error 502.3 - Bad Gateway

A security error occurred

Unable to bypass the response, it throwing security error with finesse SSL certification.

Our rule for Reverse Proxy in web.config:

---------------------------------------------------------------

<rewrite>

            <rules>

                <rule name="Route the requests for api" stopProcessing="true">

                    <match url="^finesse/(.*)" />

                    <conditions>

                        <add input="{CACHE_URL}" pattern="^(https?)://" />

                    </conditions>

                    <action type="Rewrite" url="{C:1}://172.16.6.186/finesse/{R:1}" />

                   

                    <serverVariables>

                        <set name="HTTP_ACCEPT_ENCODING" value="" />

                    </serverVariables>

                </rule>

                 <rule name="Route the requests for bosh bind" stopProcessing="true">

                    <match url="^http-bind(.*)" />

                    <conditions>

                        <add input="{CACHE_URL}" pattern="^(https?)://" />

                    </conditions>

                    <action type="Rewrite" url="{C:1}://172.16.6.186:7071/http-bind/{R:1}" />

                    <serverVariables>

                        <set name="HTTP_ACCEPT_ENCODING" value="" />

                    </serverVariables>

                </rule>

            </rules>

      </rewrite>

Reference Link  :http://blogs.iis.net/carlosag/archive/2010/04/01/setting-up-a-reverse-proxy-using-iis-url-rewrite-and-arr.aspx

                        http://www.formortals.com/fix-for-0x80072f0c-error-502-3-bad-gateway-for-reverse-proxy-to-ssl-with-iis/

Thanks,

Arul Selvan

1 Reply 1

dlender
Level 6
Level 6

IIS proxy setup is outside the scope of DevNet Developer Services.