<?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 R80 Management API readiness verification in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/R80-Management-API-readiness-verification/m-p/39201#M2440</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear members,&lt;/P&gt;&lt;P&gt;Recently there were repeated questions on how to verify whether Management API is enabled/active/running/can be connected etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Here are some useful tips:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background-color: #ffffff;"&gt;The management APIs are installed as part of any R80 management server (single management and multi-domain).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background-color: #ffffff;"&gt;&lt;SPAN&gt;Although the Management API server is installed on all management servers, it may not be active on some machines:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background-color: #ffffff;"&gt;&lt;SPAN&gt;1.&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;By default, the API server s active on management servers with 4GB of RAM (or more) and on stand-alone servers with 8GB of RAM (or more).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #333333;"&gt;2.&amp;nbsp;Even if your management server has less RAM and as a result the API server is not activated, it is still possible to activate it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #333333;"&gt;The best way to verify the API server status is to run the &lt;STRONG&gt;"api status"&lt;/STRONG&gt; command on your management server -&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #333333;"&gt;&lt;IMG __jive_id="63353" alt="" class="image-1 jive-image j-img-original" src="https://community.checkpoint.com/legacyfs/online/checkpoint/63353_api_status.png" style="width: 620px; height: 473px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #333333;"&gt;and in R80 SmartConsole GUI -&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #333333;"&gt;&lt;IMG __jive_id="63354" alt="" class="image-2 jive-image j-img-original" src="https://community.checkpoint.com/legacyfs/online/checkpoint/63354_api_status_gui.png" style="width: 620px; height: 336px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #333333;"&gt;The &lt;STRONG&gt;"Automatic Start"&lt;/STRONG&gt; and &lt;STRONG&gt;"Accessibility"&lt;/STRONG&gt; options can be&amp;nbsp;set both from GUI in the above screenshot, or from GAIA promp by using the&amp;nbsp;&lt;A href="https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/set-api-settings~v1.1"&gt;set api-settings&lt;/A&gt; API command.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #333333;"&gt;The Apache default GAIA port is 443. But sometimes the customer may change this port to another value. In this case, you must use that port number when logging into API server -&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #333333;"&gt;&lt;STRONG&gt;mgmt_cli login -r true &lt;SPAN style="color: #ff0000;"&gt;--port 5555&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #333333;"&gt;Permission to access the Management API server must be assigned to the user in order to login with user credentials (using username and password).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #333333;"&gt;This is done in SmartConsole GUI by configuring and assigning the correct permission profile -&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #333333;"&gt;&lt;IMG __jive_id="63355" alt="" class="image-3 jive-image" src="https://community.checkpoint.com/legacyfs/online/checkpoint/63355_api_perm.png" style="height: 339px;" width="413" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #333333;"&gt;Do not forget to grant additional permissions in order to commit changes...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #333333;"&gt;During the login to API server there is a GAIA certificate validation. The certificate file "server.crt" is located in "/web/conf" folder.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #333333;"&gt;You should verify that this certificate file doesn't&amp;nbsp;&lt;SPAN style="color: #000000; font-size: 14px;"&gt;contain Windows CRLF line terminators by running&amp;nbsp;the &lt;STRONG&gt;unix "file" command&lt;/STRONG&gt; on certificate file, in the case you still fail to login.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #000000; font-size: 14px;"&gt;If it reports "ASCII text, with CRLF line terminators", either&amp;nbsp;run the &lt;STRONG&gt;dos2unix&lt;/STRONG&gt; tool on the certificate file o&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN style="background-color: #ffffff; font-size: 14px;"&gt;r&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 14px;"&gt;&lt;A href="https://www.checkpoint.com/support-services/contact-support/" style="background-color: #ffffff; text-decoration: none; color: #000000;" target="_blank"&gt;Contact Check Point Support&lt;/A&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 14px;"&gt;to g&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #000000; font-size: 14px;"&gt;et a Hotfix for this issue.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #000000; font-size: 14px;"&gt;Hope this helps.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #000000; font-size: 14px;"&gt;Any additional insights or comments are welcome.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #000000; font-size: 14px;"&gt;Robert.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Feb 2018 11:23:23 GMT</pubDate>
    <dc:creator>Robert_Decker</dc:creator>
    <dc:date>2018-02-28T11:23:23Z</dc:date>
    <item>
      <title>R80 Management API readiness verification</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/R80-Management-API-readiness-verification/m-p/39201#M2440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear members,&lt;/P&gt;&lt;P&gt;Recently there were repeated questions on how to verify whether Management API is enabled/active/running/can be connected etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Here are some useful tips:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background-color: #ffffff;"&gt;The management APIs are installed as part of any R80 management server (single management and multi-domain).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background-color: #ffffff;"&gt;&lt;SPAN&gt;Although the Management API server is installed on all management servers, it may not be active on some machines:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background-color: #ffffff;"&gt;&lt;SPAN&gt;1.&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;By default, the API server s active on management servers with 4GB of RAM (or more) and on stand-alone servers with 8GB of RAM (or more).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #333333;"&gt;2.&amp;nbsp;Even if your management server has less RAM and as a result the API server is not activated, it is still possible to activate it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #333333;"&gt;The best way to verify the API server status is to run the &lt;STRONG&gt;"api status"&lt;/STRONG&gt; command on your management server -&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #333333;"&gt;&lt;IMG __jive_id="63353" alt="" class="image-1 jive-image j-img-original" src="https://community.checkpoint.com/legacyfs/online/checkpoint/63353_api_status.png" style="width: 620px; height: 473px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #333333;"&gt;and in R80 SmartConsole GUI -&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #333333;"&gt;&lt;IMG __jive_id="63354" alt="" class="image-2 jive-image j-img-original" src="https://community.checkpoint.com/legacyfs/online/checkpoint/63354_api_status_gui.png" style="width: 620px; height: 336px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #333333;"&gt;The &lt;STRONG&gt;"Automatic Start"&lt;/STRONG&gt; and &lt;STRONG&gt;"Accessibility"&lt;/STRONG&gt; options can be&amp;nbsp;set both from GUI in the above screenshot, or from GAIA promp by using the&amp;nbsp;&lt;A href="https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/set-api-settings~v1.1"&gt;set api-settings&lt;/A&gt; API command.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #333333;"&gt;The Apache default GAIA port is 443. But sometimes the customer may change this port to another value. In this case, you must use that port number when logging into API server -&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #333333;"&gt;&lt;STRONG&gt;mgmt_cli login -r true &lt;SPAN style="color: #ff0000;"&gt;--port 5555&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #333333;"&gt;Permission to access the Management API server must be assigned to the user in order to login with user credentials (using username and password).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #333333;"&gt;This is done in SmartConsole GUI by configuring and assigning the correct permission profile -&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #333333;"&gt;&lt;IMG __jive_id="63355" alt="" class="image-3 jive-image" src="https://community.checkpoint.com/legacyfs/online/checkpoint/63355_api_perm.png" style="height: 339px;" width="413" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #333333;"&gt;Do not forget to grant additional permissions in order to commit changes...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #333333;"&gt;During the login to API server there is a GAIA certificate validation. The certificate file "server.crt" is located in "/web/conf" folder.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #333333;"&gt;You should verify that this certificate file doesn't&amp;nbsp;&lt;SPAN style="color: #000000; font-size: 14px;"&gt;contain Windows CRLF line terminators by running&amp;nbsp;the &lt;STRONG&gt;unix "file" command&lt;/STRONG&gt; on certificate file, in the case you still fail to login.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #000000; font-size: 14px;"&gt;If it reports "ASCII text, with CRLF line terminators", either&amp;nbsp;run the &lt;STRONG&gt;dos2unix&lt;/STRONG&gt; tool on the certificate file o&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN style="background-color: #ffffff; font-size: 14px;"&gt;r&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 14px;"&gt;&lt;A href="https://www.checkpoint.com/support-services/contact-support/" style="background-color: #ffffff; text-decoration: none; color: #000000;" target="_blank"&gt;Contact Check Point Support&lt;/A&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 14px;"&gt;to g&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #000000; font-size: 14px;"&gt;et a Hotfix for this issue.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #000000; font-size: 14px;"&gt;Hope this helps.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #000000; font-size: 14px;"&gt;Any additional insights or comments are welcome.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #000000; font-size: 14px;"&gt;Robert.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Feb 2018 11:23:23 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/R80-Management-API-readiness-verification/m-p/39201#M2440</guid>
      <dc:creator>Robert_Decker</dc:creator>
      <dc:date>2018-02-28T11:23:23Z</dc:date>
    </item>
  </channel>
</rss>

