5 Replies Latest reply on Nov 6, 2018 7:59 AM by Matthew Reeve

    What's the format for trustedHosts in the gatewaySettings Entity configuration file?

    Sam Gechter

      Hi there -

       

      I'm trying to figure out the proper syntax for adding trusted hosts to the json configuration file to load using "tsm settings import -f .....", as described on this page, for a linux install of 2018.2:

      gatewaySettings Entity

       

      Here's the example from the page:

      {

        "configEntities": {

      "gatewaySettings": {

      "_type": "gatewaySettingsType",

      "port": 80,

      "sslRedirectEnabled": true,

      "publicHost": "localhost",

      "publicPort": 80

      }

      }

      }

       

      Would it just be:

      {

        "configEntities": {

      "gatewaySettings": {

      "_type": "gatewaySettingsType",

      "trustedhosts": www.example.com,xxx.xxx.xxx.xxx

      }

      }

      }

       

      Or does there need to be some permutation of quotation marks around the domains/ip addresses?

       

      Thanks,

      Sam