<?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: Create SIC with API in Firewall and Security Management</title>
    <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Create-SIC-with-API/m-p/219929#M64860</link>
    <description>&lt;P&gt;You used the management API which works as it names implies works on the management side. You still need to ensure the gateway are staged one way or the other.&lt;/P&gt;</description>
    <pubDate>Mon, 08 Jul 2024 12:56:11 GMT</pubDate>
    <dc:creator>Alex-</dc:creator>
    <dc:date>2024-07-08T12:56:11Z</dc:date>
    <item>
      <title>Create SIC with API</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Create-SIC-with-API/m-p/219890#M64856</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I'm trying to figure out how to establish trust (SIC) between a gateway and SMS using API calls.&lt;/P&gt;
&lt;P&gt;I've come across commands like reset-sic and test-sic, but I haven't found anything like add-sic or set-sic.&lt;/P&gt;
&lt;P&gt;Am I overlooking something? Is it not possible to establish SIC through the API?&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jul 2024 07:44:39 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Create-SIC-with-API/m-p/219890#M64856</guid>
      <dc:creator>Moudar</dc:creator>
      <dc:date>2024-07-08T07:44:39Z</dc:date>
    </item>
    <item>
      <title>Re: Create SIC with API</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Create-SIC-with-API/m-p/219895#M64857</link>
      <description>&lt;P&gt;That would be the "one-time-password" value pair of the add simple-gateway/cluster API call.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jul 2024 09:21:51 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Create-SIC-with-API/m-p/219895#M64857</guid>
      <dc:creator>Alex-</dc:creator>
      <dc:date>2024-07-08T09:21:51Z</dc:date>
    </item>
    <item>
      <title>Re: Create SIC with API</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Create-SIC-with-API/m-p/219899#M64858</link>
      <description>&lt;P&gt;In order to set the sic password, you should use the set-simple-gateway API with the one-time-password parameter:&lt;BR /&gt;&lt;A href="https://sc1.checkpoint.com/documents/latest/APIs/#cli/set-simple-gateway~v1.9.1%20" target="_self"&gt;https://sc1.checkpoint.com/documents/latest/APIs/#cli/set-simple-gateway~v1.9.1%20&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I just noticed in the documentation that the field does not have a proper description, which is probably why it was unclear how to use it. I'll ask the R&amp;amp;D team to update that.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jul 2024 09:32:24 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Create-SIC-with-API/m-p/219899#M64858</guid>
      <dc:creator>Tomer_Noy</dc:creator>
      <dc:date>2024-07-08T09:32:24Z</dc:date>
    </item>
    <item>
      <title>Re: Create SIC with API</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Create-SIC-with-API/m-p/219901#M64859</link>
      <description>&lt;P&gt;How would the order of api commands look like:&lt;/P&gt;
&lt;P&gt;new installed management server and adding new installed gateway to it&lt;/P&gt;
&lt;P&gt;something like this?:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;mgmt_cli -s sid.txt add simple-gateway name "$GATEWAY_NAME" ipv4-address "$GATEWAY_IP" one-time-password "Admin123" --format json &amp;gt; gateway_response.json&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When i run that i get this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt; message: "Installation failed. Reason: SIC is not initialized either at the Security Management Server or the peer [ SIC error no. 119 ] check that SIC is configured both on Security Management Server and peer, and that both have valid SIC certificates."&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;or this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;"sic-message" : "SIC Status: Unknown. Could not get SIC properties from peer object",
  "sic-status" : "unknown"&lt;/LI-CODE&gt;
&lt;P&gt;to solve this I had to run "&lt;STRONG&gt;cp_conf sic init Admin123&lt;/STRONG&gt;" on the gateway manually before running my script!&lt;/P&gt;
&lt;P&gt;What I miss here?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jul 2024 10:26:03 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Create-SIC-with-API/m-p/219901#M64859</guid>
      <dc:creator>Moudar</dc:creator>
      <dc:date>2024-07-08T10:26:03Z</dc:date>
    </item>
    <item>
      <title>Re: Create SIC with API</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Create-SIC-with-API/m-p/219929#M64860</link>
      <description>&lt;P&gt;You used the management API which works as it names implies works on the management side. You still need to ensure the gateway are staged one way or the other.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jul 2024 12:56:11 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Create-SIC-with-API/m-p/219929#M64860</guid>
      <dc:creator>Alex-</dc:creator>
      <dc:date>2024-07-08T12:56:11Z</dc:date>
    </item>
    <item>
      <title>Re: Create SIC with API</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Create-SIC-with-API/m-p/219940#M64861</link>
      <description>&lt;P&gt;First you need to set the sic password on the gateway side (using cp_conf).&lt;/P&gt;
&lt;P&gt;Then, you need to set the sic password on the management side. The passwords must match.&lt;BR /&gt;This is what creates trust between the gateway and the management.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jul 2024 14:09:23 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Create-SIC-with-API/m-p/219940#M64861</guid>
      <dc:creator>Tomer_Noy</dc:creator>
      <dc:date>2024-07-08T14:09:23Z</dc:date>
    </item>
  </channel>
</rss>

