Select to view content in your preferred language

ArcGIS Enterprise Cloud Builder SSL and URL issues

658
3
Jump to solution
06-15-2023 09:27 AM
CameronPlas
New Contributor

Hello!
I have attempted to build out ArcGis Enterprise with the Enterprise Cloud Builder for Azure.
The initial build used cloudapp.azure.com URL without a valid SSL certificate which caused issues especially on mobile devices not being able to access content/layers on the self-signed certificate. We have purchased a certificate and I've attempted to apply this but I'm running into issues.
I have the certificate applied and our DNS pointed to the Azure IP and it works to load the home portal page fine and we can login. But when trying to view content that previously existed it's all referencing the old URL so it's still giving invalid certificate errors when viewing that content and the Field Maps app can't view this content at all on mobile even if we 'trust' it fails to load.
How To: Edit the Web Adaptor URL for Portal for ArcGIS and ArcGIS Server (esri.com)
I attempted to follow the above link which updates the portal but none of the content. Is it possible to update all the content URLs in bulk somehow?

0 Kudos
1 Solution

Accepted Solutions
A_Wyn_Jones
Esri Contributor

It is not possible to edit the content URL in bulk. It can be done in the folder structure (and I guess you could use a bulk find and replace), but it's an unsupported workflow. 

If you're happy to give it a go, make sure you backup and then edit the files found in <ContentDrive>\arcgisportal\content\items

A supported workflow would be to use WebGISDr to backup your content, nuke the portal contents, and then restore the content (which will automatically assign the new URL). Of course, take lots of backups 🙂 

"We've boosted the Anti-Mass Spectrometer to 105 percent. Bit of a gamble, but we need the extra resolution."

View solution in original post

0 Kudos
3 Replies
A_Wyn_Jones
Esri Contributor

It is not possible to edit the content URL in bulk. It can be done in the folder structure (and I guess you could use a bulk find and replace), but it's an unsupported workflow. 

If you're happy to give it a go, make sure you backup and then edit the files found in <ContentDrive>\arcgisportal\content\items

A supported workflow would be to use WebGISDr to backup your content, nuke the portal contents, and then restore the content (which will automatically assign the new URL). Of course, take lots of backups 🙂 

"We've boosted the Anti-Mass Spectrometer to 105 percent. Bit of a gamble, but we need the extra resolution."
0 Kudos
CameronPlas
New Contributor

Thanks for the information, A_Wyn_Jones!
Unfortunately, I don't seem to be able to login to the server via RDP at all preventing me from backing up and using the WebGISDr tool. I can launch the Cloud Builder for Azure and manage the deployment OK but if I try to click the RDP shortcut it opens the Windows RDP app and tries to connect to /f which of course isn't a valid machine name. Without being able to use the WebGISDr is there another way to backup the content or possibly am I missing something trying to use the RDP shortcut? Esri doesn't have much documentation on this feature, unsure if it maybe needs more config on the Azure end. 

Thank you! 

0 Kudos
A_Wyn_Jones
Esri Contributor

No problem!

Hm..that might be an Azure issue, have a look at the following documentation and make sure it's configured correctly: https://enterprise.arcgis.com/en/server/latest/cloud/azure/deploy-web-gis-on-azure.htm#:~:text=If%20....

The documentation does mention you can use WebGISDr via ArcGIS Enterprise cloud builder: https://enterprise.arcgis.com/en/cloud/10.9.1/intro/cloud-options.htm#:~:text=Back%20up%20to%20the%2...

Hope this helps!

 

"We've boosted the Anti-Mass Spectrometer to 105 percent. Bit of a gamble, but we need the extra resolution."