Setup and Certificates

2368
11
10-27-2016 02:27 PM
WilliamMiller4
Occasional Contributor II

Hello,

I'm working with Web AppBuilder and am not in charge of setting up ArcGIS 10.4 (including ArcGIS Server Manager, Web Adaptor and Portal, all of which are on the same server, along with our other GIS data, such as the REST Services Directory, etc.), but, if everything is setup properly, the links I receive to access ArcGIS Server Manager and Portal, from those who did set them up, should not have certificate errors, correct? Note: We are using https.

The reason I ask is that the Web AppBuilder, which I setup and access through Portal, gives a certificate error, as do any apps I create, download, and put on the same server's C:\inetpub\wwwroot\. Below are the steps that must be taken to use any of the apps I add to the web server (using IE, Chrome and Firefox, respectively).

  • IE gives a security alert (see figure IE_A below) with the nature of the problem being "The name on the security certificate is invalid or does not match the name of the site." After responding "Yes" to "Do you want to proceed?", nothing displays until the page is refreshed. At this point, the same security alert comes up (see figure IE_B). After responding "Yes" this time, the app works.

Figure IE_AFigure IE_A

IE_BFigure IE_B

  • Chrome shows the loading screen and then a blank page (see figure GC_A). In order to get the app to work, you first have to open developer tools, go to the Network tab, refresh the page and find the file that failed to load (which has the starting format serverName:port#). Next, open the file in a new tab, which gives the warning "Your connection is not private" (see figure GC_B), click ADVANCED and click "Proceed to serverName (unsafe)." When you go back to the tab with the app and click refresh, the app works.

GC_AFigure GC_A

GC_BFigure GC_B

  • Firefox starts with a warning that "Your connection is not secure" (see figure MF_A). In order to get the app to work, click Advanced and click "Add Exception." (This adds an exception in the format serverName.domain.local) The loading screen displays, but then just a blank page (see figure MF_B). Next, you have to open developer tools, go to the Network tab, refresh the page and find the file that failed to load (which has the starting format serverName:port#). Next, open that file in a new tab. This gives the warning "Your connection is not secure" (see figure MF_C), click Advanced and click "Add Exception." (This adds an exception in the format serverName:port#) When you go back to the tab with the app and click refresh, the app works.

MF_AFigure MF_A

MF_BFigure MF_B

MF_CFigure MF_C

Note: All the Web AppBuilder pages, including the locally hosted API, use the format serverName.domain.local while the Web Map and other REST services use the format serverName:port#. All this can be seen using developer tools. One of the individuals who set things up thought Portal and/or Web Adaptor was supposed to hide this information.

I don't know what to do. I think I setup Web AppBuilder correctly. I followed the instructions at Get started—Web AppBuilder for ArcGIS (Developer Edition) . If anyone has an idea, a suggestion, a similar situation or would like more information on how I setup Web AppBuilder, please reply! Any input, great or small, is greatly appreciated.

Thank you.

William

0 Kudos
11 Replies
WilliamMiller4
Occasional Contributor II

Hi Robert,

I was referring to Portal, specifically My Organization > Utility Services (highlighted in the image below). The example given shows https://webadaptor.domain.com/arcgis/rest/services/Utilities/PrintingTools/GPServer/Export%20Web%20M.... What does the webadaptor portion stand for in the URL?

Screenshot: Portal > My Organization > Utility Services - Printing URL

We have Web Adaptor setup in ArcGIS Server Manager. When I go to ArcGIS Server Manager > Site > Web Adaptor (see image below), the Machine Name has our server name and the URL has https://arcgis.ourDomain.local/arcgis . Is arcgis what I should have in place of webadaptor?

Screenshot: ArcGIS Server Manager >  Site > Web Adaptor

Thank you for your help Robert.

William

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

William,

  What it is asking for is the external url that uses the web adaptor. So in my case the internal url would be http ://gisserv2:###/arcgis/rest/services/blahblah and the external web adaptor address would be http ://gis.calhouncounty.org/arcgis/rest/services/blahblah