<?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: Automating certificate import into Panorama (not a template) in Automation/API Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/automating-certificate-import-into-panorama-not-a-template/m-p/489395#M3031</link>
    <description>&lt;P&gt;Should be treated same as importing a certificate directly to a firewall. This is the same as simply removing the target-tpl parameter. At least that's how it behaves for me running on 10.1 and 10.2.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 23 May 2022 01:41:18 GMT</pubDate>
    <dc:creator>summation</dc:creator>
    <dc:date>2022-05-23T01:41:18Z</dc:date>
    <item>
      <title>Automating certificate import into Panorama (not a template)</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/automating-certificate-import-into-panorama-not-a-template/m-p/487124#M3023</link>
      <description>&lt;P&gt;I have importing a certificate into a template working:&lt;/P&gt;&lt;P&gt;curl -s -i -k -F -F "file=@{{cert_path}}" -X POST "&lt;A href="https://panorama/?key={{api_key}}&amp;amp;type=import&amp;amp;category=keypair&amp;amp;certificate-name=letsencrypt_cert&amp;amp;format=pkcs12&amp;amp;passphrase={{password}}&amp;amp;target-tpl=CORE-SBO_ECS&amp;quot;" target="_blank"&gt;https://panorama/?key={{api_key}}&amp;amp;type=import&amp;amp;category=keypair&amp;amp;certificate-name=letsencrypt_cert&amp;amp;format=pkcs12&amp;amp;passphrase={{password}}&amp;amp;target-tpl=CORE-SBO_ECS"&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I assumed that importing the certificate into Panorama is that same except without the "&amp;amp;target-tpl=CORE-SBO_ECS" piece of the URL, however this does not appear to be that case. The command completes, however there is not certificate imported into Panorama.&lt;/P&gt;&lt;P&gt;curl -s -i -k -F "file=@{{cert_path}}" -X POST "&lt;A href="https://panorama/?key={{api_key}}&amp;amp;type=import&amp;amp;category=keypair&amp;amp;certificate-name=letsencrypt_cert&amp;amp;format=pkcs12&amp;amp;passphrase={{password}}&amp;amp;target-tpl=CORE-SBO_ECS&amp;quot;" target="_blank"&gt;https://panorama/?key={{api_key}}&amp;amp;type=import&amp;amp;category=keypair&amp;amp;certificate-name=letsencrypt_cert&amp;amp;format=pkcs12&amp;amp;passphrase={{password}}"&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Side note: The script I am writing is for use with ansible. There is a PaloAlto ansible module, however it is not idempotent.&lt;/P&gt;&lt;P&gt;** For those like me that didn't know what idempotent means: If the configuration/file/object is already in place then no changes are made and ansible will report the task as OK. Instead, the PaloAlto ansible module always imports the certificate even if it is the same certificate and reports a change is made.&lt;/P&gt;</description>
      <pubDate>Fri, 13 May 2022 17:36:05 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/automating-certificate-import-into-panorama-not-a-template/m-p/487124#M3023</guid>
      <dc:creator>ERolleman</dc:creator>
      <dc:date>2022-05-13T17:36:05Z</dc:date>
    </item>
    <item>
      <title>Re: Automating certificate import into Panorama (not a template)</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/automating-certificate-import-into-panorama-not-a-template/m-p/487213#M3024</link>
      <description>&lt;P&gt;Check this out, this might help :&amp;nbsp;&lt;A href="https://docs.paloaltonetworks.com/panorama/9-1/panorama-admin/set-up-panorama/install-the-panorama-device-certificate" target="_blank" rel="noopener"&gt;https://docs.paloaltonetworks.com/panorama/9-1/panorama-admin/set-up-panorama/install-the-panorama-device-certificate&lt;/A&gt;/&lt;A href="https://www.epayitonline.pro/" target="_self"&gt;&lt;FONT color="#FFFFFF"&gt;epayitonline&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 16 May 2022 05:15:03 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/automating-certificate-import-into-panorama-not-a-template/m-p/487213#M3024</guid>
      <dc:creator>Atkins69</dc:creator>
      <dc:date>2022-05-16T05:15:03Z</dc:date>
    </item>
    <item>
      <title>Re: Automating certificate import into Panorama (not a template)</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/automating-certificate-import-into-panorama-not-a-template/m-p/487464#M3027</link>
      <description>&lt;P&gt;Thank you for the suggestion, however it unfortunately does not help in my case. The certificate that I am importing is for the web interface HTTPS. I have a certificate from Lets Encrypt that I am trying to automate the deployment of to Panorama's to handle SSL for Panorama and a couple templates that will push the certificate to our PaltoAlto firewalls for the SSL on their web interfaces as well.&lt;/P&gt;</description>
      <pubDate>Mon, 16 May 2022 14:19:01 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/automating-certificate-import-into-panorama-not-a-template/m-p/487464#M3027</guid>
      <dc:creator>ERolleman</dc:creator>
      <dc:date>2022-05-16T14:19:01Z</dc:date>
    </item>
    <item>
      <title>Re: Automating certificate import into Panorama (not a template)</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/automating-certificate-import-into-panorama-not-a-template/m-p/489395#M3031</link>
      <description>&lt;P&gt;Should be treated same as importing a certificate directly to a firewall. This is the same as simply removing the target-tpl parameter. At least that's how it behaves for me running on 10.1 and 10.2.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2022 01:41:18 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/automating-certificate-import-into-panorama-not-a-template/m-p/489395#M3031</guid>
      <dc:creator>summation</dc:creator>
      <dc:date>2022-05-23T01:41:18Z</dc:date>
    </item>
    <item>
      <title>Re: Automating certificate import into Panorama (not a template)</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/automating-certificate-import-into-panorama-not-a-template/m-p/490635#M3033</link>
      <description>&lt;P&gt;Thank you. I must have a typo or something some where then.&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2022 14:34:34 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/automating-certificate-import-into-panorama-not-a-template/m-p/490635#M3033</guid>
      <dc:creator>ERolleman</dc:creator>
      <dc:date>2022-05-24T14:34:34Z</dc:date>
    </item>
  </channel>
</rss>

