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).
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.
You will have to ask the other party involved if they used a self signed certificate (this make s a pretty big difference).
Read up on trusting self-signed certs:
Next when you use urls make sure you are not using the servername:port ones uses the web adaptor urls when adding layers to the web map.
I found out from our IT directory that the server, which is currently inside our firewall, has a certificate that is generated from active directory. Once the server is put on the outside, there is an "official" certificate (not self signed) that will be added to the server.
On the issue of port numbers, the URLs that I have received from the GIS department all have the port number in them. This includes basemaps, feature layers and the geometry and print utilities. Is there something I can do to fix this or does the GIS department need to make the changes? How would I/they/we make these changes?
One other note about how I setup Web AppBuilder. For the URL, I used the format https://serverName.domainName.local:3346/webappbuilder. For the redirect URI's, I used the formats https://serverName.domainName.local:3346 and http://serverName.domainName.local:3344. Was this correct?
Thank you again Robert.
You can ignore my reply about port numbers in the url as long as you are using the web adaptor urls. I forgot that I am using web adaptors and a reverse proxy on my web server in my DMZ so All my external urls do not have port numbers at all and I can mask my urls in any way I want.
Your setup of Web AppBuilder looks fine as far as the redirects go (understand that those redirects only apply to your WAB Dev edition) as once the app if deployed it will not be using blah blah:3346 or :3344.