<?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 Certificates not appearing in XML running configuration in General Topics</title>
    <link>https://live.paloaltonetworks.com/t5/general-topics/certificates-not-appearing-in-xml-running-configuration/m-p/544123#M111377</link>
    <description>&lt;P&gt;Dear colleagues,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-unlink="true"&gt;I am having trouble with the custom Nagios plugin &lt;A href="https://nagios-check-paloalto.readthedocs.io/en/latest/readme.html" target="_self"&gt;check_paloalto&lt;/A&gt;, specifically with the "certificates" check.&lt;/P&gt;
&lt;P data-unlink="true"&gt;The rest of the checks are working fine.&lt;/P&gt;
&lt;P data-unlink="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-unlink="true"&gt;Basically, the "certificates" check leverages the API calls and parse the XML running configuration file to find the certificates. The issue is that my firewalls (which are managed by Panorama, which in turn pushes the certificates from a template) do not present the certificate part in the XML configuration file. I verified it by calling the same API in the browser.&lt;/P&gt;
&lt;P data-unlink="true"&gt;My goal is having a Nagios check that is triggered when a certificate is near the expiration date, since we are using them for SSL Inspection and other reasons.&lt;/P&gt;
&lt;P data-unlink="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-unlink="true"&gt;Panorama and firewalls are running PAN-OS 10.1.10, and Nagios is running version 5.9.3.&lt;/P&gt;
&lt;P data-unlink="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-unlink="true"&gt;Is there any reason why this happens?&lt;/P&gt;
&lt;P data-unlink="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-unlink="true"&gt;Many thanks!&lt;/P&gt;</description>
    <pubDate>Wed, 31 May 2023 08:30:08 GMT</pubDate>
    <dc:creator>GGarolla</dc:creator>
    <dc:date>2023-05-31T08:30:08Z</dc:date>
    <item>
      <title>Certificates not appearing in XML running configuration</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/certificates-not-appearing-in-xml-running-configuration/m-p/544123#M111377</link>
      <description>&lt;P&gt;Dear colleagues,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-unlink="true"&gt;I am having trouble with the custom Nagios plugin &lt;A href="https://nagios-check-paloalto.readthedocs.io/en/latest/readme.html" target="_self"&gt;check_paloalto&lt;/A&gt;, specifically with the "certificates" check.&lt;/P&gt;
&lt;P data-unlink="true"&gt;The rest of the checks are working fine.&lt;/P&gt;
&lt;P data-unlink="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-unlink="true"&gt;Basically, the "certificates" check leverages the API calls and parse the XML running configuration file to find the certificates. The issue is that my firewalls (which are managed by Panorama, which in turn pushes the certificates from a template) do not present the certificate part in the XML configuration file. I verified it by calling the same API in the browser.&lt;/P&gt;
&lt;P data-unlink="true"&gt;My goal is having a Nagios check that is triggered when a certificate is near the expiration date, since we are using them for SSL Inspection and other reasons.&lt;/P&gt;
&lt;P data-unlink="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-unlink="true"&gt;Panorama and firewalls are running PAN-OS 10.1.10, and Nagios is running version 5.9.3.&lt;/P&gt;
&lt;P data-unlink="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-unlink="true"&gt;Is there any reason why this happens?&lt;/P&gt;
&lt;P data-unlink="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-unlink="true"&gt;Many thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2023 08:30:08 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/certificates-not-appearing-in-xml-running-configuration/m-p/544123#M111377</guid>
      <dc:creator>GGarolla</dc:creator>
      <dc:date>2023-05-31T08:30:08Z</dc:date>
    </item>
    <item>
      <title>Re: Certificates not appearing in XML running configuration</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/certificates-not-appearing-in-xml-running-configuration/m-p/544158#M111384</link>
      <description>&lt;P&gt;Hi &lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/215584"&gt;@GGarolla&lt;/a&gt; ,&lt;/P&gt;
&lt;P&gt;What you are experiance is by design. Configuration pushed by Panorama is not stored in firewall local configuration, but it is stored separately as "panorama pushed" config. &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't have access to FW right now, but there are CLI operation commands that allow you to list/view the panorama pushed config, I am sure there should be XML API call for those as well.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However in the link you shared is mentioned that&amp;nbsp; Nagios is using the Rest API (note that PAN FWs supprot XML and REST, but they are different). REST was introduced fairly recently and it has its limitations, some commands/actions are available only under XML API.&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2023 12:38:35 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/certificates-not-appearing-in-xml-running-configuration/m-p/544158#M111384</guid>
      <dc:creator>aleksandar.astardzhiev</dc:creator>
      <dc:date>2023-05-31T12:38:35Z</dc:date>
    </item>
    <item>
      <title>Re: Certificates not appearing in XML running configuration</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/certificates-not-appearing-in-xml-running-configuration/m-p/544749#M111461</link>
      <description>&lt;P&gt;Thanks for your response, Aleksandar.&lt;/P&gt;
&lt;P&gt;I will investigate the REST API and maybe I will try to customize the check in order to check if I can use the XML API to review the Panorama pushed configuration&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jun 2023 07:22:50 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/certificates-not-appearing-in-xml-running-configuration/m-p/544749#M111461</guid>
      <dc:creator>GGarolla</dc:creator>
      <dc:date>2023-06-05T07:22:50Z</dc:date>
    </item>
  </channel>
</rss>

