Skip to main content

This may be a slightly "general" web development and authentication. etc question but maybe someone working with FME Server has a quick answer.

So I have various pieces of a project working.

  • An ESRI web app that grabs some user info and other detail.
  • An FME Service that takes some JSON input and writes it to database.
  • Some custom code using FMEServer.js that sends info to the FME service.

But when I try to put it all together I get 'Mixed Content' errors because ArcGIS Enterprise is enforcing HTTPS and my existing FME is running on HTTP. I don't have a problem with getting a Cert and enabling HTTPS for FME Server if that's the only solution (and maybe I'm hereby offering my own solution) but is it?

Thanks

Generally speaking, you should avoid mixing http and https on the same page, so configuring your FME Server for https would be a good idea (it's a good idea, regardless, actually).

See also https://web.dev/what-is-mixed-content/


@david_r​ - Thanks for the comment. I do understand what the problem is here and am familiar with Mixed Content. The documentation I've seen for setting up HTTPS looks straight forward, so that was going to be my next step. But the verbiage seemed to suggest that maybe the need for setting this up was uncommon, if not unusual. So that had me thinking: heck, maybe there is way around it... and turned my post into a Hail Mary pass.... Been wanting to do this for some time anyway. So HTTPS, here we come!


@david_r​ - Thanks for the comment. I do understand what the problem is here and am familiar with Mixed Content. The documentation I've seen for setting up HTTPS looks straight forward, so that was going to be my next step. But the verbiage seemed to suggest that maybe the need for setting this up was uncommon, if not unusual. So that had me thinking: heck, maybe there is way around it... and turned my post into a Hail Mary pass.... Been wanting to do this for some time anyway. So HTTPS, here we come!

Unfortunately configuring Tomcat with a certificate is a bit complicated, which I guess is why the articles tend to be longer than you'd expect. I think that most users didn't see the need for https as most installations are behind the company firewall, but with increasing interaction with e.g. the DMZ (FME Server Apps...) it only makes sense to jump through the hoops.

Just remember that you'll have to redo the setup for each upgrade, as the SSL config isn't part of the backup/restore operation. But if you take some notes on what was done, it should be fairly quick to configure the next time.


Reply