Portal and Reverse Proxy: Too Many Redirect Errors

11870
30
01-21-2019 05:21 AM
IrfanClemson
Occasional Contributor II

Hello,

I have not been able to find step by step directions for ArcGIS for Portal and Reverse Proxy which uses IIS as a server. I have a setup in place which mostly work but fails at one critical point. Here's the setup:

1) Reverse Proxy Server (Windows) with static IP address accessible from the outside (only ports 80/443 allowed in).

2) An internal machine ('GIS') which has ArcGIS for Portal and Server installed along with their respective Web Adaptors ('portal' and 'arcgis' respectively).

3) The Portal also has WebContextURL of like 'https://gis.mydomain.com/portal'

4) The RP server has a couple of URL Rewrite entries--basically, direct to Server Farm which has the 'GIS' machine.

5) A proper SSL certificate is install as gis.mydomain.com in the IIS of both the RP server and the 'GIS' server.

So far this setup works great: I am able to access all content from the outside, such as https://gis.mydomain.com/portal/home and Gallery etc. But clicking on the Signup link in the Portal home page generates a browser error: Too Many Redirects (Header of 302). So the header being passed backed from the internal machine is 302 instead of 200.

I don't know what's happening. Maybe some extra security comes in picture when the signup.html page is called? 

Any idea?

Thanks!

Irfan

*** Update: Reverse Proxy Rules Screen Cap Added in this Question***

30 Replies
IrfanClemson
Occasional Contributor II

An Update on this topic.

So the CA issued (the real) SSL expired a few days ago and of course the Portal was not loading anymore by going to https://gis.MYDOMAIN.com/portal/home/ 

Here is how the issue was fixed:

1) Obtained a new SSL from a CA authority (using the IIS route of making a Cert request CSR file).

2) Installed the new SSL on the Reverse Proxy server (completing the certificate request in IIS)

3) Exported the SSL from step #2 to a PFX file (inside IIS)

4) Importing the PFX SSL in the ArcGIS Server machine 

5) Binding the IIS site in the ArcGIS Server machine to the newly imported Cert

6) Restarting the ArcGIS Server machine. May not be necessary but still did it.

HTH someone!

0 Kudos