<?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 SSL/TLS Service Profile - Automate Certificate Replacement in General Topics</title>
    <link>https://live.paloaltonetworks.com/t5/general-topics/ssl-tls-service-profile-automate-certificate-replacement/m-p/544995#M111493</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm looking for an automatic way to update the certificate in a SSL/TLS Service Profile (which forms a part of the certificate replacement process). From what I can find, steps 1 and 2 can be automated with Ansible (or XML API), but I cannot find a way to do this for step 3.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Import certificate (&lt;A href="https://paloaltonetworks.github.io/pan-os-ansible/modules/panos_import_module.html#id85" target="_self"&gt;Ansible&lt;/A&gt; or &lt;A href="https://docs.paloaltonetworks.com/pan-os/10-2/pan-os-panorama-api/pan-os-xml-api-use-cases/manage-certificates-api" target="_self"&gt;XML API&lt;/A&gt;)&lt;/LI&gt;
&lt;LI&gt;Update Decryption Profile (&lt;A href="https://paloaltonetworks.github.io/pan-os-ansible/modules/panos_decryption_rule_module.html" target="_self"&gt;Ansible&lt;/A&gt;)&lt;/LI&gt;
&lt;LI&gt;Update SSL/TLS Service Profile (?)&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;I had a look at Ansible, XML API and REST API, but I cannot find the relevant module/call. If possible, I would like to avoid SSH and keep it all HTTPS based.&lt;/P&gt;
&lt;P&gt;Thanks for any help.&lt;/P&gt;</description>
    <pubDate>Tue, 06 Jun 2023 22:39:42 GMT</pubDate>
    <dc:creator>bgre033</dc:creator>
    <dc:date>2023-06-06T22:39:42Z</dc:date>
    <item>
      <title>SSL/TLS Service Profile - Automate Certificate Replacement</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/ssl-tls-service-profile-automate-certificate-replacement/m-p/544995#M111493</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm looking for an automatic way to update the certificate in a SSL/TLS Service Profile (which forms a part of the certificate replacement process). From what I can find, steps 1 and 2 can be automated with Ansible (or XML API), but I cannot find a way to do this for step 3.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Import certificate (&lt;A href="https://paloaltonetworks.github.io/pan-os-ansible/modules/panos_import_module.html#id85" target="_self"&gt;Ansible&lt;/A&gt; or &lt;A href="https://docs.paloaltonetworks.com/pan-os/10-2/pan-os-panorama-api/pan-os-xml-api-use-cases/manage-certificates-api" target="_self"&gt;XML API&lt;/A&gt;)&lt;/LI&gt;
&lt;LI&gt;Update Decryption Profile (&lt;A href="https://paloaltonetworks.github.io/pan-os-ansible/modules/panos_decryption_rule_module.html" target="_self"&gt;Ansible&lt;/A&gt;)&lt;/LI&gt;
&lt;LI&gt;Update SSL/TLS Service Profile (?)&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;I had a look at Ansible, XML API and REST API, but I cannot find the relevant module/call. If possible, I would like to avoid SSH and keep it all HTTPS based.&lt;/P&gt;
&lt;P&gt;Thanks for any help.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2023 22:39:42 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/ssl-tls-service-profile-automate-certificate-replacement/m-p/544995#M111493</guid>
      <dc:creator>bgre033</dc:creator>
      <dc:date>2023-06-06T22:39:42Z</dc:date>
    </item>
    <item>
      <title>Re: SSL/TLS Service Profile - Automate Certificate Replacement</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/ssl-tls-service-profile-automate-certificate-replacement/m-p/545647#M111569</link>
      <description>&lt;P&gt;Howdy there.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am running decryption on my FW, and I do not have any SSL-TLS profile being referenced.&lt;/P&gt;
&lt;P&gt;Can you kindly explain your configuration, where a SSL TLS profile is called in Decryption.&lt;BR /&gt;It would help us, to provide better support to you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jun 2023 19:04:04 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/ssl-tls-service-profile-automate-certificate-replacement/m-p/545647#M111569</guid>
      <dc:creator>S.Cantwell</dc:creator>
      <dc:date>2023-06-12T19:04:04Z</dc:date>
    </item>
    <item>
      <title>Re: SSL/TLS Service Profile - Automate Certificate Replacement</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/ssl-tls-service-profile-automate-certificate-replacement/m-p/545718#M111582</link>
      <description>&lt;P&gt;Thanks for your reply, Steve.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I got this working using the &lt;A href="https://paloaltonetworks.github.io/pan-os-ansible/modules/panos_type_cmd_module.html" target="_self"&gt;panos_type_cmd&lt;/A&gt;&amp;nbsp;module with the code below.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class="lia-indent-padding-left-30px"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;- name: Update SSL TLS profile cert&lt;/EM&gt;&lt;/DIV&gt;
&lt;DIV class="lia-indent-padding-left-30px"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;panos_type_cmd:&lt;/EM&gt;&lt;/DIV&gt;
&lt;DIV class="lia-indent-padding-left-30px"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;provider: '{{ palo_provider }}'&lt;/EM&gt;&lt;/DIV&gt;
&lt;DIV class="lia-indent-padding-left-30px"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;xpath: |&lt;/EM&gt;&lt;/DIV&gt;
&lt;DIV class="lia-indent-padding-left-30px"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;/config/shared/ssl-tls-service-profile/entry[@name='PROFILE-NAME']&lt;/EM&gt;&lt;/DIV&gt;
&lt;DIV class="lia-indent-padding-left-30px"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;element: |&lt;/EM&gt;&lt;/DIV&gt;
&lt;DIV class="lia-indent-padding-left-30px"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;certificate&amp;gt;{{ cert_name }}&amp;lt;/certificate&amp;gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt; &lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jun 2023 07:42:09 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/ssl-tls-service-profile-automate-certificate-replacement/m-p/545718#M111582</guid>
      <dc:creator>bgre033</dc:creator>
      <dc:date>2023-06-13T07:42:09Z</dc:date>
    </item>
    <item>
      <title>Re: SSL/TLS Service Profile - Automate Certificate Replacement</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/ssl-tls-service-profile-automate-certificate-replacement/m-p/547153#M111779</link>
      <description>&lt;P&gt;I have added my playbook to Github.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/bgre033/paloalto-panos-certificate-renew-with-ansible" target="_blank"&gt;https://github.com/bgre033/paloalto-panos-certificate-renew-with-ansible&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 25 Jun 2023 07:32:25 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/ssl-tls-service-profile-automate-certificate-replacement/m-p/547153#M111779</guid>
      <dc:creator>bgre033</dc:creator>
      <dc:date>2023-06-25T07:32:25Z</dc:date>
    </item>
  </channel>
</rss>

