<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Enabling web api in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Enabling-web-api/m-p/32659#M2029</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dameon,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried again with mgmt credentials but showing that this command is for MDS not in my case.OUt put is below,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gw-b739b6&amp;gt; mgmt login user admin&lt;BR /&gt;Enter password:&lt;BR /&gt;gw-b739b6&amp;gt; mgmt_cli -r true set api-settings accepted-api-calls-from "All IP addresses"&lt;BR /&gt;MGMT9000 code: "err_inappropriate_domain_type"&lt;BR /&gt;message: "This command can work only on domains of type MDS. Cannot execute it in the current domain (current domain type is Domain)."&lt;/P&gt;&lt;P&gt;gw-b739b6&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, I am looking at some&amp;nbsp;bash script or some other commands that can be incorporated with user data file so that in the case included once booting up mgmt server in AWS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amit Chaubey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Sep 2018 15:15:56 GMT</pubDate>
    <dc:creator>Amit_Chaubey</dc:creator>
    <dc:date>2018-09-18T15:15:56Z</dc:date>
    <item>
      <title>Enabling web api</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Enabling-web-api/m-p/32641#M2011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Probably a really basic question, but i can't seem to find anything.&amp;nbsp; I'm attempting a simple login to R80.10 via the api.&amp;nbsp; I'm using postman, when i send the POST i get a web page returned instead of json.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&amp;lt;!DOCTYPE html&amp;gt;&lt;BR /&gt;&amp;lt;HTML&amp;gt;&lt;BR /&gt; &amp;lt;HEAD&amp;gt;&lt;BR /&gt; &amp;lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8"&amp;gt;&lt;BR /&gt; &amp;lt;meta http-equiv="X-UA-Compatible" content="IE=EmulateIE9,EmulateIE8"&amp;gt;&lt;BR /&gt; &amp;lt;meta name="others" content="WEBUI LOGIN PAGE" /&amp;gt;&lt;BR /&gt; &amp;lt;TITLE&amp;gt;Gaia&amp;lt;/TITLE&amp;gt;&lt;BR /&gt; &amp;lt;link rel="shortcut icon" href="https://community.checkpoint.com/login/fav.ico"&amp;gt;&lt;BR /&gt; &amp;lt;link rel="stylesheet" type="text/css" href="https://community.checkpoint.com/login/ext-all.css" /&amp;gt;&lt;BR /&gt; &amp;lt;link rel="stylesheet" type="text/css" href="https://community.checkpoint.com/login/login.css" /&amp;gt;&lt;BR /&gt; &amp;lt;STYLE TYPE="text/css"&amp;gt;&lt;BR /&gt;.ext-ie .webui-login-fld{font-size: 11px;}&lt;BR /&gt;&amp;lt;/STYLE&amp;gt;&lt;BR /&gt; &amp;lt;script type="text/javascript" src="/login/ext-base.js"&amp;gt;&amp;lt;/script&amp;gt;&lt;BR /&gt; &amp;lt;script type="text/javascript" src="/login/ext-all.js"&amp;gt;&amp;lt;/script&amp;gt;&lt;BR /&gt; &amp;lt;script type="text/javascript"&amp;gt;var errMsgText = "";var bannerMsgText = "";bannerMsgText += "This system is for authorized use only.";var hostname='';var version='R80.10';var formAction="/cgi-bin/home.tcl";&amp;lt;/script&amp;gt;&lt;BR /&gt; &amp;lt;script type="text/javascript" src="/login/login.js"&amp;gt;&amp;lt;/script&amp;gt;&lt;BR /&gt; &amp;lt;/HEAD&amp;gt;&lt;BR /&gt; &amp;lt;BODY&amp;gt;&lt;BR /&gt; &amp;lt;noscript&amp;gt;&lt;BR /&gt; &amp;lt;div style='font-size:20px;position:relative;top:100px;'&amp;gt;For full functionality of this site it is necessary to enable JavaScript.&amp;lt;/div&amp;gt;&lt;BR /&gt; &amp;lt;/noscript&amp;gt;&lt;BR /&gt; &amp;lt;/BODY&amp;gt;&lt;BR /&gt;&amp;lt;/HTML&amp;gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Any pointers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2018 13:41:07 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Enabling-web-api/m-p/32641#M2011</guid>
      <dc:creator>Steven_Bade</dc:creator>
      <dc:date>2018-02-26T13:41:07Z</dc:date>
    </item>
    <item>
      <title>Re: Enabling web api</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Enabling-web-api/m-p/32642#M2012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;Make sure that you didn't forget the /web_api/ part of the URI. https://&amp;lt;management server&amp;gt;:&amp;lt;port&amp;gt;/&lt;STRONG&gt;web_api/&lt;/STRONG&gt;&amp;lt;command&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A class="" href="https://sc1.checkpoint.com/documents/latest/APIs/index.html#web/login~v1.1%20" title="https://sc1.checkpoint.com/documents/latest/APIs/index.html#web/login~v1.1%20"&gt;Check Point - Management API reference:&lt;/A&gt;&lt;/PRE&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;PRE&gt;POST &lt;A href="https://&amp;lt;mgmt-server&amp;gt;&amp;lt;port&amp;gt;"&gt;https://&amp;lt;mgmt-server&amp;gt;:&amp;lt;port&amp;gt;/web_api/login&lt;/A&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;PRE&gt; &lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2018 16:42:13 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Enabling-web-api/m-p/32642#M2012</guid>
      <dc:creator>Viktor</dc:creator>
      <dc:date>2018-02-26T16:42:13Z</dc:date>
    </item>
    <item>
      <title>Re: Enabling web api</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Enabling-web-api/m-p/32643#M2013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have to use path /web_api/ for your management API calls, else you are accessing Gaia WebUI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See&amp;nbsp;&lt;A class="link-titled" href="https://sc1.checkpoint.com/documents/R80/APIs/#ws" title="https://sc1.checkpoint.com/documents/R80/APIs/#ws"&gt;Check Point - Management API reference&lt;/A&gt;&amp;nbsp;&amp;nbsp;for reference.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2018 18:17:52 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Enabling-web-api/m-p/32643#M2013</guid>
      <dc:creator>Norbert_Bohusch</dc:creator>
      <dc:date>2018-02-26T18:17:52Z</dc:date>
    </item>
    <item>
      <title>Re: Enabling web api</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Enabling-web-api/m-p/32644#M2014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using the &lt;A href="https://&amp;lt;server&amp;gt;/web_api/"&gt;https://&amp;lt;server&amp;gt;/web_api/&lt;/A&gt;&amp;nbsp;point..&lt;/P&gt;&lt;P&gt;&amp;nbsp;what I think the issue is that I don't think I set up the management server.&amp;nbsp; When I did the install i checked both the management server and the gateway boxes.&amp;nbsp; But when I login, i don't see the same screen as the docs indicate.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.checkpoint.com/legacyfs/online/checkpoint/63327_CP.png" style="width: 620px; height: 583px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I guess I need help in getting the right software installed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2018 18:55:56 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Enabling-web-api/m-p/32644#M2014</guid>
      <dc:creator>Steven_Bade</dc:creator>
      <dc:date>2018-02-26T18:55:56Z</dc:date>
    </item>
    <item>
      <title>Re: Enabling web api</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Enabling-web-api/m-p/32645#M2015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I created a new VM and selected only the management option.&amp;nbsp; Now when I do the login attempt as admin, i get 403 with "you don't have permission to access /web_api/login on this server".&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2018 19:14:10 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Enabling-web-api/m-p/32645#M2015</guid>
      <dc:creator>Steven_Bade</dc:creator>
      <dc:date>2018-02-26T19:14:10Z</dc:date>
    </item>
    <item>
      <title>Re: Enabling web api</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Enabling-web-api/m-p/32646#M2016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please run "api status" command on your management server and paste the response here.&lt;/P&gt;&lt;P&gt;robert.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2018 19:43:22 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Enabling-web-api/m-p/32646#M2016</guid>
      <dc:creator>Robert_Decker</dc:creator>
      <dc:date>2018-02-26T19:43:22Z</dc:date>
    </item>
    <item>
      <title>Re: Enabling web api</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Enabling-web-api/m-p/32647#M2017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks robert.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;cpmgmt&amp;gt; api status&lt;/P&gt;&lt;P&gt;API Settings:&lt;BR /&gt;---------------------&lt;BR /&gt;Accessibility: Require ip 127.0.0.1&lt;BR /&gt;Automatic Start: Enabled&lt;/P&gt;&lt;P&gt;Processes:&lt;/P&gt;&lt;P&gt;Name State PID More Information&lt;BR /&gt;-------------------------------------------------&lt;BR /&gt;API Started 19458&lt;BR /&gt;CPM Started 19548 Check Point Security Management Server is running and ready&lt;BR /&gt;FWM Started 18989&lt;/P&gt;&lt;P&gt;Port Details:&lt;BR /&gt;-------------------&lt;BR /&gt;JETTY Internal Port: 50276&lt;BR /&gt;APACHE Gaia Port: 443&lt;BR /&gt; Apache port retrieved from: httpd-ssl.conf&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;--------------------------------------------&lt;BR /&gt;Overall API Status: Started&lt;BR /&gt;--------------------------------------------&lt;/P&gt;&lt;P&gt;API readiness test SUCCESSFUL. The server is up and ready to receive connections&lt;/P&gt;&lt;P&gt;Notes:&lt;BR /&gt;------------&lt;BR /&gt;To collect troubleshooting data, please run 'api status -s &amp;lt;comment&amp;gt;'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2018 19:59:41 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Enabling-web-api/m-p/32647#M2017</guid>
      <dc:creator>Steven_Bade</dc:creator>
      <dc:date>2018-02-26T19:59:41Z</dc:date>
    </item>
    <item>
      <title>Re: Enabling web api</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Enabling-web-api/m-p/32648#M2018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;See output: only access from 127.0.0.1 allowed&lt;/SPAN&gt;&lt;P class=""&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class=""&gt;Change it in SmartConsole under “Manage &amp;amp; Settings” / “Blades” / “Management SPI”&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2018 20:08:53 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Enabling-web-api/m-p/32648#M2018</guid>
      <dc:creator>Norbert_Bohusch</dc:creator>
      <dc:date>2018-02-26T20:08:53Z</dc:date>
    </item>
    <item>
      <title>Re: Enabling web api</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Enabling-web-api/m-p/32649#M2019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is exactly what I wanted to ensure - you have to allow an access from remote machines to your management API server.&lt;/P&gt;&lt;P&gt;Please read this excellent document -&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.checkpoint.com/docs/DOC-2078"&gt;Orchestration and Automation_Ryan Darst_Marco Garcia.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and refer to slide #5.&lt;/P&gt;&lt;P&gt;Robert.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2018 21:38:28 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Enabling-web-api/m-p/32649#M2019</guid>
      <dc:creator>Robert_Decker</dc:creator>
      <dc:date>2018-02-26T21:38:28Z</dc:date>
    </item>
    <item>
      <title>Re: Enabling web api</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Enabling-web-api/m-p/32650#M2020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks... However I don't have&amp;nbsp; smartconsole in the UI.&amp;nbsp; I pasted in a screenshot of what my UI looks like, which is not the same as in the document that Robert referenced&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2018 22:42:32 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Enabling-web-api/m-p/32650#M2020</guid>
      <dc:creator>Steven_Bade</dc:creator>
      <dc:date>2018-02-26T22:42:32Z</dc:date>
    </item>
    <item>
      <title>Re: Enabling web api</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Enabling-web-api/m-p/32651#M2021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;is smartconsole a windows only application?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2018 22:46:00 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Enabling-web-api/m-p/32651#M2021</guid>
      <dc:creator>Steven_Bade</dc:creator>
      <dc:date>2018-02-26T22:46:00Z</dc:date>
    </item>
    <item>
      <title>Re: Enabling web api</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Enabling-web-api/m-p/32652#M2022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, it's a Windows only application.&lt;/P&gt;&lt;P&gt;However, the&amp;nbsp;API can be enabled from the CLI using something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;STRONG style="font-family: 'courier new', courier, monospace;"&gt;mgmt_cli -r true --domain MDS set api-settings accepted-api-calls-from "All IP addresses"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you will need to restart the API server for the change to take effect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;STRONG style="font-family: 'courier new', courier, monospace;"&gt;api restart&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P&gt;See also:&amp;nbsp;&lt;A class="link-titled" href="https://sc1.checkpoint.com/documents/latest/APIs/index.html#gui-cli/set-api-settings~v1.1" title="https://sc1.checkpoint.com/documents/latest/APIs/index.html#gui-cli/set-api-settings~v1.1"&gt;Check Point - Management API reference&lt;/A&gt;&amp;nbsp;&lt;STRONG style="font-family: 'courier new', courier, monospace;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2018 23:00:06 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Enabling-web-api/m-p/32652#M2022</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2018-02-26T23:00:06Z</dc:date>
    </item>
    <item>
      <title>Re: Enabling web api</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Enabling-web-api/m-p/32653#M2023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok.. once i realized that smart console was an external windows application i was able to get the config enabled properly.&amp;nbsp; have to find a windows vm to run this on, as i'm on a mac for all my work.&amp;nbsp; &amp;nbsp;is there a command line way to enable this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2018 23:01:42 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Enabling-web-api/m-p/32653#M2023</guid>
      <dc:creator>Steven_Bade</dc:creator>
      <dc:date>2018-02-26T23:01:42Z</dc:date>
    </item>
    <item>
      <title>Re: Enabling web api</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Enabling-web-api/m-p/32654#M2024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, see my answer above.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Feb 2018 03:34:16 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Enabling-web-api/m-p/32654#M2024</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2018-02-27T03:34:16Z</dc:date>
    </item>
    <item>
      <title>Re: Enabling web api</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Enabling-web-api/m-p/32655#M2025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What permissions do you need to be able to change this setting? &amp;nbsp;I'm a PowerAdmin and it is read-only for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jordan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jun 2018 17:21:44 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Enabling-web-api/m-p/32655#M2025</guid>
      <dc:creator>Jordan_Martin1</dc:creator>
      <dc:date>2018-06-22T17:21:44Z</dc:date>
    </item>
    <item>
      <title>Re: Enabling web api</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Enabling-web-api/m-p/32656#M2026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe only SuperAdmins can change the setting.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jun 2018 18:48:12 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Enabling-web-api/m-p/32656#M2026</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2018-06-22T18:48:12Z</dc:date>
    </item>
    <item>
      <title>Re: Enabling web api</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Enabling-web-api/m-p/32657#M2027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using below command&amp;nbsp;to allow API calls from all IP but no lcuk, any help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gw-b739b6&amp;gt; mgmt set api-settings accepted-api-calls-from "All IP addresses"&lt;BR /&gt;MGMT9205 You are not logged in to management server, in order to log-in you w ill need to run "mgmt login user [user name]"&lt;BR /&gt;gw-b739b6&amp;gt; expert&lt;BR /&gt;Enter expert password:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Warning! All configurations should be done through clish&lt;BR /&gt;You are in expert mode now.&lt;/P&gt;&lt;P&gt;[Expert@gw-b739b6:0]# mgmt set api-settings accepted-api-calls-from "All IP addr esses"&lt;BR /&gt;bash: mgmt: command not found&lt;BR /&gt;[Expert@gw-b739b6:0]#&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Expert@gw-b739b6:0]# mgmt set api-settings accepted-api-calls-from "All IP addr esses"&lt;BR /&gt;bash: mgmt: command not found&lt;BR /&gt;[Expert@gw-b739b6:0]# mgmt_cli set api-settings accepted-api-calls-from "All IP addresses"&lt;BR /&gt;Username: admin&lt;BR /&gt;Password:&lt;BR /&gt;code: "err_login_failed"&lt;BR /&gt;message: "Authentication to server failed."&lt;/P&gt;&lt;P&gt;[Expert@gw-b739b6:0]# exit&lt;BR /&gt;exit&lt;BR /&gt;gw-b739b6&amp;gt; mgmt_cli set api-settings accepted-api-calls-from "All IP addresses"&lt;BR /&gt;MGMT9205 You are not logged in to management server, in order to log-in you will need to run "mgmt login user [user name]"&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt; why we need to use suppy username and pasowrd&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;gw-b739b6&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tried in both modes but no luck,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amit Chaubey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2018 10:58:07 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Enabling-web-api/m-p/32657#M2027</guid>
      <dc:creator>Amit_Chaubey</dc:creator>
      <dc:date>2018-09-18T10:58:07Z</dc:date>
    </item>
    <item>
      <title>Re: Enabling web api</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Enabling-web-api/m-p/32658#M2028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You were most correct with this one: mgmt_cli set api-settings accepted-api-calls-from "All IP Addresses"&lt;/P&gt;&lt;P&gt;But it looks like you didn't type the admin password correct.&lt;/P&gt;&lt;P&gt;You can also try: mgmt_cli -r true set api-settings accepted-api-calls-from "All IP addresses"&lt;/P&gt;&lt;P&gt;(Assuming you are on Security Management)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2018 13:14:33 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Enabling-web-api/m-p/32658#M2028</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2018-09-18T13:14:33Z</dc:date>
    </item>
    <item>
      <title>Re: Enabling web api</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Enabling-web-api/m-p/32659#M2029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dameon,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried again with mgmt credentials but showing that this command is for MDS not in my case.OUt put is below,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gw-b739b6&amp;gt; mgmt login user admin&lt;BR /&gt;Enter password:&lt;BR /&gt;gw-b739b6&amp;gt; mgmt_cli -r true set api-settings accepted-api-calls-from "All IP addresses"&lt;BR /&gt;MGMT9000 code: "err_inappropriate_domain_type"&lt;BR /&gt;message: "This command can work only on domains of type MDS. Cannot execute it in the current domain (current domain type is Domain)."&lt;/P&gt;&lt;P&gt;gw-b739b6&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, I am looking at some&amp;nbsp;bash script or some other commands that can be incorporated with user data file so that in the case included once booting up mgmt server in AWS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amit Chaubey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2018 15:15:56 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Enabling-web-api/m-p/32659#M2029</guid>
      <dc:creator>Amit_Chaubey</dc:creator>
      <dc:date>2018-09-18T15:15:56Z</dc:date>
    </item>
    <item>
      <title>Re: Enabling web api</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Enabling-web-api/m-p/32660#M2030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you use mgmt_cli -r true you don't need to login.&lt;/P&gt;&lt;P&gt;Also, if you were going to login, you would need to pass the session ID returned with each command.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try:&amp;nbsp;&lt;SPAN style="color: #333333; background-color: #ffffff;"&gt;mgmt_cli -r true set api-settings accepted-api-calls-from "All IP addresses" domain "System Data"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You realize we also have CloudFormation scripts for deploying gateways and management in AWS, right?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&amp;amp;solutionid=sk111013" title="https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&amp;amp;solutionid=sk111013"&gt;AWS CloudFormation Templates&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2018 21:25:30 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Enabling-web-api/m-p/32660#M2030</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2018-09-18T21:25:30Z</dc:date>
    </item>
  </channel>
</rss>

