<?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 Connecting to PAN-OS Firewall Device via SSH and Bypassing HTTPS  - Ansible Galaxy (PaloAltoNetwork) in Automation/API Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/connecting-to-pan-os-firewall-device-via-ssh-and-bypassing-https/m-p/321668#M2261</link>
    <description>&lt;P&gt;Hi all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm new to Ansible and am trying a specific use case where I am connecting to a PAN-OS firewall device through SSH and running my panos_op commands. Is there a way to bypass HTTPS as our production firewalls are compliant to our customers with not allowing any HTTPS access from any host. When I run my script, I am getting:&amp;nbsp;"msg": "Failed connection: URLError: reason: [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:897)".&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My script:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="khangt_0-1586366954612.png" style="width: 400px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/25005i46D8E4EDCA67C9CB/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="khangt_0-1586366954612.png" alt="khangt_0-1586366954612.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;P.S. --- I have already added the Ansible Server IP Address in Panorama that manages all of our PAN-OS devices to the&amp;nbsp;&lt;STRONG&gt;list of permitted IP addresses&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;which is located under Device --&amp;gt; Interfaces --&amp;gt; Management so every host can manage the firewall.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help and input is very appreciated! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 08 Apr 2020 17:39:12 GMT</pubDate>
    <dc:creator>khangt</dc:creator>
    <dc:date>2020-04-08T17:39:12Z</dc:date>
    <item>
      <title>Connecting to PAN-OS Firewall Device via SSH and Bypassing HTTPS  - Ansible Galaxy (PaloAltoNetwork)</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/connecting-to-pan-os-firewall-device-via-ssh-and-bypassing-https/m-p/321668#M2261</link>
      <description>&lt;P&gt;Hi all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm new to Ansible and am trying a specific use case where I am connecting to a PAN-OS firewall device through SSH and running my panos_op commands. Is there a way to bypass HTTPS as our production firewalls are compliant to our customers with not allowing any HTTPS access from any host. When I run my script, I am getting:&amp;nbsp;"msg": "Failed connection: URLError: reason: [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:897)".&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My script:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="khangt_0-1586366954612.png" style="width: 400px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/25005i46D8E4EDCA67C9CB/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="khangt_0-1586366954612.png" alt="khangt_0-1586366954612.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;P.S. --- I have already added the Ansible Server IP Address in Panorama that manages all of our PAN-OS devices to the&amp;nbsp;&lt;STRONG&gt;list of permitted IP addresses&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;which is located under Device --&amp;gt; Interfaces --&amp;gt; Management so every host can manage the firewall.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help and input is very appreciated! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Apr 2020 17:39:12 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/connecting-to-pan-os-firewall-device-via-ssh-and-bypassing-https/m-p/321668#M2261</guid>
      <dc:creator>khangt</dc:creator>
      <dc:date>2020-04-08T17:39:12Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to PAN-OS Firewall Device via SSH and Bypassing HTTPS  - Ans</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/connecting-to-pan-os-firewall-device-via-ssh-and-bypassing-https/m-p/325687#M2286</link>
      <description>&lt;P&gt;All but like two Ansible modules interact with the PAN-OS XML API (https port 443 by default), not the CLI.&amp;nbsp; So the client host running Ansible will need 443 access to the PAN-OS management interface to work.&lt;/P&gt;</description>
      <pubDate>Fri, 01 May 2020 16:12:59 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/connecting-to-pan-os-firewall-device-via-ssh-and-bypassing-https/m-p/325687#M2286</guid>
      <dc:creator>gfreeman</dc:creator>
      <dc:date>2020-05-01T16:12:59Z</dc:date>
    </item>
  </channel>
</rss>

