<?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: Is there a way to export all the certificates present via the API? in General Topics</title>
    <link>https://live.paloaltonetworks.com/t5/general-topics/is-there-a-way-to-export-all-the-certificates-present-via-the/m-p/1228482#M124223</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/1341160779"&gt;@hcb.pedro&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't think it's possible out of the box.&lt;/P&gt;
&lt;P&gt;The API also mentions that the following parameters are required to export the certificates:&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Parameters "certificate-name", "format", "include-key" are required while exporting certificate.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;As a workaround you can get the list of all the certificates using the API call:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;XML API Url
/api/?type=config&amp;amp;action=get&amp;amp;xpath=/config/shared/certificate&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="" data-start="691" data-end="747"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="" data-start="691" data-end="747"&gt;Then you can parse the XML response to extract each certificate name and loop through them and export one-by-one using the export API.&lt;/P&gt;
&lt;P class="" data-start="691" data-end="747"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="" data-start="691" data-end="747"&gt;Kind regards,&lt;/P&gt;
&lt;P class="" data-start="691" data-end="747"&gt;-Kim.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 08 May 2025 12:29:26 GMT</pubDate>
    <dc:creator>kiwi</dc:creator>
    <dc:date>2025-05-08T12:29:26Z</dc:date>
    <item>
      <title>Is there a way to export all the certificates present via the API?</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/is-there-a-way-to-export-all-the-certificates-present-via-the/m-p/1228428#M124215</link>
      <description>&lt;P&gt;Is it possible to export all Certificates at once from a Palo Alto Firewall via API? Without having to pass the names of the certificates from the API call, because in the documentation I've only seen it possible that way.&lt;/P&gt;</description>
      <pubDate>Wed, 07 May 2025 18:48:36 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/is-there-a-way-to-export-all-the-certificates-present-via-the/m-p/1228428#M124215</guid>
      <dc:creator>hcb.pedro</dc:creator>
      <dc:date>2025-05-07T18:48:36Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to export all the certificates present via the API?</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/is-there-a-way-to-export-all-the-certificates-present-via-the/m-p/1228482#M124223</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/1341160779"&gt;@hcb.pedro&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't think it's possible out of the box.&lt;/P&gt;
&lt;P&gt;The API also mentions that the following parameters are required to export the certificates:&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Parameters "certificate-name", "format", "include-key" are required while exporting certificate.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;As a workaround you can get the list of all the certificates using the API call:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;XML API Url
/api/?type=config&amp;amp;action=get&amp;amp;xpath=/config/shared/certificate&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="" data-start="691" data-end="747"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="" data-start="691" data-end="747"&gt;Then you can parse the XML response to extract each certificate name and loop through them and export one-by-one using the export API.&lt;/P&gt;
&lt;P class="" data-start="691" data-end="747"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="" data-start="691" data-end="747"&gt;Kind regards,&lt;/P&gt;
&lt;P class="" data-start="691" data-end="747"&gt;-Kim.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 May 2025 12:29:26 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/is-there-a-way-to-export-all-the-certificates-present-via-the/m-p/1228482#M124223</guid>
      <dc:creator>kiwi</dc:creator>
      <dc:date>2025-05-08T12:29:26Z</dc:date>
    </item>
  </channel>
</rss>

