AnsweredAssumed Answered

Setup and Certificates

Question asked by william.miller_WarrenCoGIS on Oct 27, 2016
Latest reply on Nov 10, 2016 by rscheitlin

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

Outcomes