<?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: MDS REST API Call Authentication Issue in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/MDS-REST-API-Call-Authentication-Issue/m-p/197280#M8174</link>
    <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/37178"&gt;@Amir_Senn&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;The issue was due to the JHF. As I was running it on my lab I didn't install the hotfix.&lt;/P&gt;</description>
    <pubDate>Tue, 07 Nov 2023 09:04:11 GMT</pubDate>
    <dc:creator>prashanth</dc:creator>
    <dc:date>2023-11-07T09:04:11Z</dc:date>
    <item>
      <title>MDS REST API Call Authentication Issue</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/MDS-REST-API-Call-Authentication-Issue/m-p/194319#M8075</link>
      <description>&lt;P&gt;Hi There,&lt;/P&gt;&lt;P&gt;&amp;nbsp; I'm trying to run API towards the CheckPoint MDS CMAs.&lt;BR /&gt;From thread below thread I came to know that I need to generate the sid along with the domain name&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.checkpoint.com/t5/API-CLI-Discussion/How-does-the-API-work-in-a-multi-domain-environment/td-p/1634" target="_blank"&gt;https://community.checkpoint.com/t5/API-CLI-Discussion/How-does-the-API-work-in-a-multi-domain-environment/td-p/1634&lt;/A&gt;&lt;/P&gt;&lt;P&gt;When I try to run the query towards the MDS IP and without domain I can get the SID without any issues.&lt;BR /&gt;Once I send the domain as key, value parameter I'm getting authentication failures as below.&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;"code" : "err_login_failed",&lt;BR /&gt;"message" : "Authentication to server failed."&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;I can login to all the SmartConsole of CMA with the password, which I'm supplying to the REST API Post request.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2023 14:24:31 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/MDS-REST-API-Call-Authentication-Issue/m-p/194319#M8075</guid>
      <dc:creator>prashanth</dc:creator>
      <dc:date>2023-10-05T14:24:31Z</dc:date>
    </item>
    <item>
      <title>Re: MDS REST API Call Authentication Issue</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/MDS-REST-API-Call-Authentication-Issue/m-p/194322#M8076</link>
      <description>&lt;P&gt;What does the audit log say?&lt;/P&gt;
&lt;P&gt;What do you see if you try to authenticate with mgmt_cli locally on the MDS? For example, 'mgmt_cli -d "&amp;lt;CMA name&amp;gt;" login read-only true'.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2023 14:32:09 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/MDS-REST-API-Call-Authentication-Issue/m-p/194322#M8076</guid>
      <dc:creator>Bob_Zimmerman</dc:creator>
      <dc:date>2023-10-05T14:32:09Z</dc:date>
    </item>
    <item>
      <title>Re: MDS REST API Call Authentication Issue</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/MDS-REST-API-Call-Authentication-Issue/m-p/194366#M8081</link>
      <description>&lt;P&gt;I don't see any logs under the audit.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;mgmt_cli command that you have shared was able to extract the SID successfully.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I have also noticed that when I give the domain UID instead of the name I am able to generate the SID.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Oct 2023 02:36:09 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/MDS-REST-API-Call-Authentication-Issue/m-p/194366#M8081</guid>
      <dc:creator>prashanth</dc:creator>
      <dc:date>2023-10-06T02:36:09Z</dc:date>
    </item>
    <item>
      <title>Re: MDS REST API Call Authentication Issue</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/MDS-REST-API-Call-Authentication-Issue/m-p/195544#M8095</link>
      <description>&lt;P&gt;Try &amp;lt;domain_name&amp;gt; instead of &amp;lt;CMA_name&amp;gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Oct 2023 15:17:40 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/MDS-REST-API-Call-Authentication-Issue/m-p/195544#M8095</guid>
      <dc:creator>Amir_Senn</dc:creator>
      <dc:date>2023-10-18T15:17:40Z</dc:date>
    </item>
    <item>
      <title>Re: MDS REST API Call Authentication Issue</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/MDS-REST-API-Call-Authentication-Issue/m-p/195760#M8096</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/37178"&gt;@Amir_Senn&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;How can I differentiate the Domain Name and CMA name?&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Prashanth&lt;/P&gt;</description>
      <pubDate>Fri, 20 Oct 2023 13:01:22 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/MDS-REST-API-Call-Authentication-Issue/m-p/195760#M8096</guid>
      <dc:creator>prashanth</dc:creator>
      <dc:date>2023-10-20T13:01:22Z</dc:date>
    </item>
    <item>
      <title>Re: MDS REST API Call Authentication Issue</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/MDS-REST-API-Call-Authentication-Issue/m-p/195839#M8099</link>
      <description>&lt;P&gt;CMA is management instance from specific MDS.&lt;/P&gt;
&lt;P&gt;Domain is the same for all instances that are related to it.&lt;/P&gt;
&lt;P&gt;See attached.&lt;/P&gt;</description>
      <pubDate>Sun, 22 Oct 2023 11:04:09 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/MDS-REST-API-Call-Authentication-Issue/m-p/195839#M8099</guid>
      <dc:creator>Amir_Senn</dc:creator>
      <dc:date>2023-10-22T11:04:09Z</dc:date>
    </item>
    <item>
      <title>Re: MDS REST API Call Authentication Issue</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/MDS-REST-API-Call-Authentication-Issue/m-p/195872#M8100</link>
      <description>&lt;P&gt;Thank you Amir.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Indeed, I have tried both Domain and CMA names but in vain.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Oct 2023 02:05:45 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/MDS-REST-API-Call-Authentication-Issue/m-p/195872#M8100</guid>
      <dc:creator>prashanth</dc:creator>
      <dc:date>2023-10-23T02:05:45Z</dc:date>
    </item>
    <item>
      <title>Re: MDS REST API Call Authentication Issue</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/MDS-REST-API-Call-Authentication-Issue/m-p/195890#M8101</link>
      <description>&lt;P&gt;What platform are you using&lt;/P&gt;
&lt;P&gt;Try: mgmt_cli login -d &amp;lt;domain_name&amp;gt; -r true&lt;/P&gt;
&lt;P&gt;You can also try:&amp;nbsp;mgmt_cli login -d &amp;lt;CMA_IP&amp;gt; -r true&lt;/P&gt;
&lt;P&gt;If this succeeds than the problem is with credentials/permissions of that specific admin, if this doesn't login properly perhaps you have a different issue and would consult with support.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Oct 2023 10:11:18 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/MDS-REST-API-Call-Authentication-Issue/m-p/195890#M8101</guid>
      <dc:creator>Amir_Senn</dc:creator>
      <dc:date>2023-10-23T10:11:18Z</dc:date>
    </item>
    <item>
      <title>Re: MDS REST API Call Authentication Issue</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/MDS-REST-API-Call-Authentication-Issue/m-p/195899#M8102</link>
      <description>&lt;P&gt;I'm using an Open Server to construct my python code.&lt;BR /&gt;&lt;BR /&gt;I'm able to login with&amp;nbsp;&lt;SPAN&gt;mgmt_cli login -d &amp;lt;domain_name&amp;gt; -r true and&amp;nbsp;mgmt_cli login -d &amp;lt;CMA_IP&amp;gt; -r true. Both returns the SID and other variables while executing&amp;nbsp;the&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;command.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Further I'm using the admin account to execute&amp;nbsp;my code which is a&amp;nbsp;"Multi-Domain Super User" account. Do I need to add any permissions&amp;nbsp;apart from that for the API call?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Oct 2023 10:50:49 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/MDS-REST-API-Call-Authentication-Issue/m-p/195899#M8102</guid>
      <dc:creator>prashanth</dc:creator>
      <dc:date>2023-10-23T10:50:49Z</dc:date>
    </item>
    <item>
      <title>Re: MDS REST API Call Authentication Issue</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/MDS-REST-API-Call-Authentication-Issue/m-p/195902#M8103</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Multi-Domain Super User automatically has permissions for every domain so it doesn't need any further permissions.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Make sure MGMT accepts calls from the IP.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Oct 2023 11:31:26 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/MDS-REST-API-Call-Authentication-Issue/m-p/195902#M8103</guid>
      <dc:creator>Amir_Senn</dc:creator>
      <dc:date>2023-10-23T11:31:26Z</dc:date>
    </item>
    <item>
      <title>Re: MDS REST API Call Authentication Issue</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/MDS-REST-API-Call-Authentication-Issue/m-p/195913#M8105</link>
      <description>&lt;P&gt;Indeed, I have allowed all the IP address for the API call.&lt;BR /&gt;Stange that the script is working for domain UID but not for the domain name.&lt;/P&gt;&lt;P&gt;From the API guide below, the API should take UID or name.&lt;/P&gt;&lt;P&gt;&lt;A href="https://sc1.checkpoint.com/documents/latest/APIs/?#web/login~v1.9.1%20" target="_blank"&gt;https://sc1.checkpoint.com/documents/latest/APIs/?#web/login~v1.9.1%20&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Oct 2023 12:54:54 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/MDS-REST-API-Call-Authentication-Issue/m-p/195913#M8105</guid>
      <dc:creator>prashanth</dc:creator>
      <dc:date>2023-10-23T12:54:54Z</dc:date>
    </item>
    <item>
      <title>Re: MDS REST API Call Authentication Issue</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/MDS-REST-API-Call-Authentication-Issue/m-p/195925#M8106</link>
      <description>&lt;P&gt;Are you using latest JHF recommended for you version?&lt;/P&gt;</description>
      <pubDate>Mon, 23 Oct 2023 14:42:14 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/MDS-REST-API-Call-Authentication-Issue/m-p/195925#M8106</guid>
      <dc:creator>Amir_Senn</dc:creator>
      <dc:date>2023-10-23T14:42:14Z</dc:date>
    </item>
    <item>
      <title>Re: MDS REST API Call Authentication Issue</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/MDS-REST-API-Call-Authentication-Issue/m-p/197280#M8174</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/37178"&gt;@Amir_Senn&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;The issue was due to the JHF. As I was running it on my lab I didn't install the hotfix.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2023 09:04:11 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/MDS-REST-API-Call-Authentication-Issue/m-p/197280#M8174</guid>
      <dc:creator>prashanth</dc:creator>
      <dc:date>2023-11-07T09:04:11Z</dc:date>
    </item>
  </channel>
</rss>

