<?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: How to check certificate expiration date from API or CLI? in Automation/API Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/how-to-check-certificate-expiration-date-from-api-or-cli/m-p/480484#M3003</link>
    <description>&lt;P&gt;Hi Jimmy,&lt;/P&gt;&lt;P&gt;thanks for your response.&lt;/P&gt;&lt;P&gt;I had a senior network engineer tell me we have several that are important for our VPN. But I am curious, if there is no need to monitor these, then I will mention it to him. If these generally manage themselves, then it sounds like there isn't a monitoring requirement.&lt;/P&gt;</description>
    <pubDate>Fri, 15 Apr 2022 08:57:26 GMT</pubDate>
    <dc:creator>damom10</dc:creator>
    <dc:date>2022-04-15T08:57:26Z</dc:date>
    <item>
      <title>How to check certificate expiration date from API or CLI?</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/how-to-check-certificate-expiration-date-from-api-or-cli/m-p/391798#M2583</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you know if it is possible to check certificate expiration date from API or CLI for Firewall and Panorama.&lt;/P&gt;&lt;P&gt;Ideally also get all the certificate details. I haven't found a way.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Mar 2021 16:53:54 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/how-to-check-certificate-expiration-date-from-api-or-cli/m-p/391798#M2583</guid>
      <dc:creator>juanochoa</dc:creator>
      <dc:date>2021-03-17T16:53:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to check certificate expiration date from API or CLI?</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/how-to-check-certificate-expiration-date-from-api-or-cli/m-p/392263#M2589</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;On the firewall CLI try &lt;STRONG&gt;show sslmgr-store config-certificate-info&lt;/STRONG&gt; will give you certificate details including expiry dates.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;Seb.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Mar 2021 10:34:33 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/how-to-check-certificate-expiration-date-from-api-or-cli/m-p/392263#M2589</guid>
      <dc:creator>SebRupik</dc:creator>
      <dc:date>2021-03-19T10:34:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to check certificate expiration date from API or CLI?</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/how-to-check-certificate-expiration-date-from-api-or-cli/m-p/392310#M2590</link>
      <description>&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Awesome, that's was exactly what I was looking for.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Mar 2021 14:47:15 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/how-to-check-certificate-expiration-date-from-api-or-cli/m-p/392310#M2590</guid>
      <dc:creator>juanochoa</dc:creator>
      <dc:date>2021-03-19T14:47:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to check certificate expiration date from API or CLI?</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/how-to-check-certificate-expiration-date-from-api-or-cli/m-p/392324#M2591</link>
      <description>&lt;P&gt;And the equivalent XML API call:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;https://{{host}}/api?key={{key}}&amp;amp;type=op&amp;amp;cmd=&amp;lt;show&amp;gt;&amp;lt;sslmgr-store&amp;gt;&amp;lt;config-certificate-info&amp;gt;&amp;lt;/config-certificate-info&amp;gt;&amp;lt;/sslmgr-store&amp;gt;&amp;lt;/show&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Mar 2021 16:14:27 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/how-to-check-certificate-expiration-date-from-api-or-cli/m-p/392324#M2591</guid>
      <dc:creator>JimmyHolland</dc:creator>
      <dc:date>2021-03-19T16:14:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to check certificate expiration date from API or CLI?</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/how-to-check-certificate-expiration-date-from-api-or-cli/m-p/451735#M2842</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I not found a sslmgr-store option on my panorama&lt;/P&gt;</description>
      <pubDate>Tue, 07 Dec 2021 10:03:45 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/how-to-check-certificate-expiration-date-from-api-or-cli/m-p/451735#M2842</guid>
      <dc:creator>efurlan</dc:creator>
      <dc:date>2021-12-07T10:03:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to check certificate expiration date from API or CLI?</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/how-to-check-certificate-expiration-date-from-api-or-cli/m-p/451751#M2844</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/160039"&gt;@efurlan&lt;/a&gt;,&amp;nbsp;another method is to look at the config, such as this example API call:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;https://{{host}}/api/?key={{key}}&amp;amp;type=config&amp;amp;action=get&amp;amp;xpath=/config/devices/entry[@name='localhost.localdomain']/template/entry[@name='{{template-name}}']/config/shared/certificate&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The response includes the expiry (and begin) dates:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2021-12-07 at 10.56.33.png" style="width: 716px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/37992i7AA548C4286547F4/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Screenshot 2021-12-07 at 10.56.33.png" alt="Screenshot 2021-12-07 at 10.56.33.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Dec 2021 10:59:22 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/how-to-check-certificate-expiration-date-from-api-or-cli/m-p/451751#M2844</guid>
      <dc:creator>JimmyHolland</dc:creator>
      <dc:date>2021-12-07T10:59:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to check certificate expiration date from API or CLI?</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/how-to-check-certificate-expiration-date-from-api-or-cli/m-p/451755#M2846</link>
      <description>&lt;P&gt;You could also do the sslmgr command on a managed-firewall via Panorama:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;https://{{host}}/api?key={{key}}&amp;amp;type=op&amp;amp;cmd=&amp;lt;show&amp;gt;&amp;lt;sslmgr-store&amp;gt;&amp;lt;config-certificate-info&amp;gt;&amp;lt;/config-certificate-info&amp;gt;&amp;lt;/sslmgr-store&amp;gt;&amp;lt;/show&amp;gt;&amp;amp;target={{ngfw-serial-number}}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Dec 2021 11:08:20 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/how-to-check-certificate-expiration-date-from-api-or-cli/m-p/451755#M2846</guid>
      <dc:creator>JimmyHolland</dc:creator>
      <dc:date>2021-12-07T11:08:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to check certificate expiration date from API or CLI?</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/how-to-check-certificate-expiration-date-from-api-or-cli/m-p/474473#M2972</link>
      <description>&lt;P&gt;Super helpful, thanks so much.&lt;/P&gt;&lt;P&gt;Led me on to the SDK:&lt;/P&gt;&lt;P&gt;&lt;A href="https://pan-os-python.readthedocs.io/" target="_blank"&gt;https://pan-os-python.readthedocs.io/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 20 Mar 2022 09:44:56 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/how-to-check-certificate-expiration-date-from-api-or-cli/m-p/474473#M2972</guid>
      <dc:creator>Dave_Messenger</dc:creator>
      <dc:date>2022-03-20T09:44:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to check certificate expiration date from API or CLI?</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/how-to-check-certificate-expiration-date-from-api-or-cli/m-p/478351#M2985</link>
      <description>&lt;P&gt;Hi Jymmy,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the post, I'm using exactly what you posted but looks like it does not send the certificate's name in the response. Do you have any suggestions about how to get a list of SSL Certificates installed?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Response:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN&gt;response&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;status&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;"success"&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN&gt;result&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;04D53E620DFF9346DA94C3F500D97B2:FF74AB87368B853C438879E050464F0CE84D5010&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;serial&amp;nbsp;number:&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;issuer:&amp;nbsp;/C=CA/ST=ON/L=Ottawa/O=MyOrg/CN=Issuing&amp;nbsp;CA&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;issuer-subjecthash:&amp;nbsp;FF74AB87368B85986969E050464F0CE84D5010&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;issuer-keyhash:&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;db-type:&amp;nbsp;V&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;db-exp-date:&amp;nbsp;220409191416Z(Apr&amp;nbsp;&amp;nbsp;9&amp;nbsp;19:14:16&amp;nbsp;2022&amp;nbsp;GMT)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;db-rev-date:&amp;nbsp;()&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;db-serialno:&amp;nbsp;04D53E620097097A94C3F500D97B26unknown&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;db-file:&amp;nbsp;unknown&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;db-name:&amp;nbsp;/C=CA/ST=Ontario/O=myOrg/CN=xpto.com&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;db-status:&amp;nbsp;V&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Regards,&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Fabio&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 05 Apr 2022 14:33:12 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/how-to-check-certificate-expiration-date-from-api-or-cli/m-p/478351#M2985</guid>
      <dc:creator>FabioSouza</dc:creator>
      <dc:date>2022-04-05T14:33:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to check certificate expiration date from API or CLI?</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/how-to-check-certificate-expiration-date-from-api-or-cli/m-p/478887#M2988</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/215059"&gt;@FabioSouza&lt;/a&gt;, which command are you using, how are you using it (Postman, curl, etc), and is it to Panorama or NGFW directly?&lt;BR /&gt;&lt;BR /&gt;It looks like you are using the "sslmgr-store" command from earlier in the thread, but maybe try the config command later in the thread (&lt;A href="https://live.paloaltonetworks.com/t5/automation-api-discussions/how-to-check-certificate-expiration-date-from-api-or-cli/m-p/451751/highlight/true#M2844" target="_self"&gt;here&lt;/A&gt;) which includes certificate names in the response.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;https://{{host}}/api/?key={{key}}&amp;amp;type=config&amp;amp;action=get&amp;amp;xpath=/config/devices/entry[@name='localhost.localdomain']/template/entry[@name='{{template-name}}']/config/shared/certificate&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 07 Apr 2022 08:10:55 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/how-to-check-certificate-expiration-date-from-api-or-cli/m-p/478887#M2988</guid>
      <dc:creator>JimmyHolland</dc:creator>
      <dc:date>2022-04-07T08:10:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to check certificate expiration date from API or CLI?</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/how-to-check-certificate-expiration-date-from-api-or-cli/m-p/478900#M2991</link>
      <description>&lt;P&gt;Sharing a script that utilises the Python API for anyone that may be interested.&lt;/P&gt;&lt;P&gt;&lt;A title="Python SDK Script" href="https://github.com/ip-life-net/palo-check-cert-expiry" target="_blank" rel="noopener"&gt;https://github.com/ip-life-net/palo-check-cert-expiry&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Apr 2022 08:51:24 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/how-to-check-certificate-expiration-date-from-api-or-cli/m-p/478900#M2991</guid>
      <dc:creator>Dave_Messenger</dc:creator>
      <dc:date>2022-04-07T08:51:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to check certificate expiration date from API or CLI?</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/how-to-check-certificate-expiration-date-from-api-or-cli/m-p/479027#M2996</link>
      <description>&lt;P&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/4294"&gt;@JimmyHolland&lt;/a&gt;&amp;nbsp;I have the same question actually but I'm wondering what values do I need to substitute for the values I underlined below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;https://{{host}}/api/?key={{key}}&amp;amp;type=config&amp;amp;action=get&amp;amp;xpath=/config/devices/entry&lt;U&gt;&lt;STRONG&gt;[@name='localhost.localdomain']&lt;/STRONG&gt;&lt;/U&gt;/template/entry[@name='{&lt;U&gt;{&lt;STRONG&gt;template-name&lt;/STRONG&gt;}&lt;/U&gt;}']/config/shared/certificate&lt;/P&gt;</description>
      <pubDate>Thu, 07 Apr 2022 16:30:35 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/how-to-check-certificate-expiration-date-from-api-or-cli/m-p/479027#M2996</guid>
      <dc:creator>TigeRRR</dc:creator>
      <dc:date>2022-04-07T16:30:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to check certificate expiration date from API or CLI?</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/how-to-check-certificate-expiration-date-from-api-or-cli/m-p/479291#M2997</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/213724"&gt;@TigeRRR&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;Good question. In my notation, anything inside &lt;FONT face="courier new,courier"&gt;{{ braces like this }}&lt;/FONT&gt; means replace with your own value.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;FONT face="courier new,courier"&gt;[@name='localhost.localdomain']&lt;/FONT&gt; stays the same, this is a static value the same on every device.&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face="courier new,courier"&gt;{{template-name}}&lt;/FONT&gt; is the name of your Panorama template where you are modifying certs or gathering cert info. My response was to someone asking about Panorama specifically.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Hope that helps?&lt;/P&gt;</description>
      <pubDate>Fri, 08 Apr 2022 12:06:02 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/how-to-check-certificate-expiration-date-from-api-or-cli/m-p/479291#M2997</guid>
      <dc:creator>JimmyHolland</dc:creator>
      <dc:date>2022-04-08T12:06:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to check certificate expiration date from API or CLI?</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/how-to-check-certificate-expiration-date-from-api-or-cli/m-p/479320#M2998</link>
      <description>&lt;P&gt;Thank you! I understood that it was to be your own values but I wasn't sure what it was referring to, what if this was to be pulled directly from a firewall and not Panorama?&lt;/P&gt;</description>
      <pubDate>Fri, 08 Apr 2022 14:23:55 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/how-to-check-certificate-expiration-date-from-api-or-cli/m-p/479320#M2998</guid>
      <dc:creator>TigeRRR</dc:creator>
      <dc:date>2022-04-08T14:23:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to check certificate expiration date from API or CLI?</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/how-to-check-certificate-expiration-date-from-api-or-cli/m-p/480019#M2999</link>
      <description>&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;this is a really great thread and I thank you all for your inputs.&lt;/P&gt;&lt;P&gt;I'm currently trying to develop a certificate expiry monitoring solution for the 'default trusted certificate authorities'.&lt;/P&gt;&lt;P&gt;All the provided paths in this thread relate to the 'device certificates' only.&lt;/P&gt;&lt;P&gt;I believe I require a path that would access&amp;nbsp;'default trusted certificate authorities' on vsys1.&lt;/P&gt;&lt;P&gt;Could someone please point me in the right direction on how I could achieve this?&lt;/P&gt;&lt;P&gt;It's been a frustrating process thus far, so any direction will be much appreciated.&lt;/P&gt;&lt;P&gt;Thanks guys!&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2022 00:50:08 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/how-to-check-certificate-expiration-date-from-api-or-cli/m-p/480019#M2999</guid>
      <dc:creator>damom10</dc:creator>
      <dc:date>2022-04-13T00:50:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to check certificate expiration date from API or CLI?</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/how-to-check-certificate-expiration-date-from-api-or-cli/m-p/480142#M3000</link>
      <description>&lt;P&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/150298"&gt;@damom10&lt;/a&gt;&amp;nbsp;Thos certificates are managed/updated as part of PAN-OS, they are not part of the configuration unlike the other types of certificates mentioned previously in this thread.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2022 10:33:24 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/how-to-check-certificate-expiration-date-from-api-or-cli/m-p/480142#M3000</guid>
      <dc:creator>JimmyHolland</dc:creator>
      <dc:date>2022-04-13T10:33:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to check certificate expiration date from API or CLI?</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/how-to-check-certificate-expiration-date-from-api-or-cli/m-p/480244#M3001</link>
      <description>&lt;P&gt;Thanks Jummy.&lt;/P&gt;&lt;P&gt;Any idea how best to approach creating a solution to grab those certificates and check for expiry. I'm using PowerShell and API at the moment but it seems like API isn't going to help me?&lt;/P&gt;&lt;P&gt;Maybe I need to use python?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2022 22:02:08 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/how-to-check-certificate-expiration-date-from-api-or-cli/m-p/480244#M3001</guid>
      <dc:creator>damom10</dc:creator>
      <dc:date>2022-04-13T22:02:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to check certificate expiration date from API or CLI?</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/how-to-check-certificate-expiration-date-from-api-or-cli/m-p/480329#M3002</link>
      <description>&lt;P&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/150298"&gt;@damom10&lt;/a&gt;&amp;nbsp;Is there a reason why you want to check expiry of the CAs? How are you using them, why do you need to check them? In most use cases they are there to act just like the trusted CA list in your web browser, and I presume you would not check these, you expect your browser to manage them, and you expect PAN-OS to manage them too?&lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2022 08:58:24 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/how-to-check-certificate-expiration-date-from-api-or-cli/m-p/480329#M3002</guid>
      <dc:creator>JimmyHolland</dc:creator>
      <dc:date>2022-04-14T08:58:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to check certificate expiration date from API or CLI?</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/how-to-check-certificate-expiration-date-from-api-or-cli/m-p/480484#M3003</link>
      <description>&lt;P&gt;Hi Jimmy,&lt;/P&gt;&lt;P&gt;thanks for your response.&lt;/P&gt;&lt;P&gt;I had a senior network engineer tell me we have several that are important for our VPN. But I am curious, if there is no need to monitor these, then I will mention it to him. If these generally manage themselves, then it sounds like there isn't a monitoring requirement.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Apr 2022 08:57:26 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/how-to-check-certificate-expiration-date-from-api-or-cli/m-p/480484#M3003</guid>
      <dc:creator>damom10</dc:creator>
      <dc:date>2022-04-15T08:57:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to check certificate expiration date from API or CLI?</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/how-to-check-certificate-expiration-date-from-api-or-cli/m-p/480526#M3004</link>
      <description>&lt;P&gt;Thanks, Jimmy.&amp;nbsp;&lt;/P&gt;&lt;P&gt;That's how I got what I wanted.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1 - Get SSL/TLS service profiles &amp;nbsp;&amp;nbsp;&lt;BR /&gt;https://{{PaloaltoIP}}/api/?key={{key}}&amp;amp;type=config&amp;amp;action=get&amp;amp;xpath=/config/shared/ssl-tls-service-profile&lt;/P&gt;&lt;P&gt;2 - Get all certificates&amp;nbsp;&lt;BR /&gt;https://{{PaloaltoIP}}/api/?key={{key}}&amp;amp;type=config&amp;amp;action=get&amp;amp;xpath=/config/shared/certificate&lt;/P&gt;&lt;P&gt;3 - Get a certificate by it's name&amp;nbsp;&lt;BR /&gt;https://{{PaloaltoIP}}/api/?key={{key}}&amp;amp;type=config&amp;amp;action=get&amp;amp;xpath=/config/shared/certificate/entry[@name='cert-name']&lt;/P&gt;&lt;P&gt;4 - If certificate name is not important&amp;nbsp;&lt;BR /&gt;https://{{PaloaltoIP}}/api?key={{key}}&amp;amp;type=op&amp;amp;cmd=&amp;lt;show&amp;gt;&amp;lt;sslmgr-store&amp;gt;&amp;lt;config-certificate-info&amp;gt;&amp;lt;/config-certificate-info&amp;gt;&amp;lt;/sslmgr-store&amp;gt;&amp;lt;/show&amp;gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Apr 2022 19:09:47 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/how-to-check-certificate-expiration-date-from-api-or-cli/m-p/480526#M3004</guid>
      <dc:creator>FabioSouza</dc:creator>
      <dc:date>2022-04-15T19:09:47Z</dc:date>
    </item>
  </channel>
</rss>

