Skip to content

Latest commit

 

History

History
72 lines (54 loc) · 2.76 KB

software-download.md

File metadata and controls

72 lines (54 loc) · 2.76 KB

Process for downloading PAN-OS software / dynamic content in a secure environment with PAN-OS-PHP

Requirements:

internal and external Server with PAN-OS-PHP version 2.0.26 prepared internal Server has access to Panorama mgmt device external Server has access to Internet

https://github.com/PaloAltoNetworks/pan-os-php

Steps for downloading PAN-OS Software:

  1. internal Server:

  • go to folder [pan-os-php_root]/utils/develop
  • run: php ​​pan_software_download_preparation.php in=api://Panorama_MGMT-IP script
    • script is asking for username / password and store it in local system User folder file “.panconfkeystore” for future usage
    • script is creating XML file: [pan-os-php_root]/utils/develop/software/software_downloader_devices.txt
  • copy the created file to external Server in folder: [pan-os-php_root]/utils/develop/software
  1. external Server:

  • go to folder [pan-os-php_root]/utils/develop
  • check if file is available software/software_downloader_devices.txt
  • check if additional settings are needed:
    • vi pan_software-downloader.php +38
    • $filter['All'] = false;//[=false => download only latest]
    • $filter['SWVersionInfo'] = true;
    • $filter['SignatureVersionInfo'] = true;
    • $filter['only_releaseNotes'] = false;
  • run: php pan_software_downloader.php script
    • this script is downloading all available software / content update based on the filter settings into folder [pan-os-php_root]/utils/develop/software
  1. internal Server:

  • fetch software and dynamic content update from external server from folder: [pan-os-php_root]/utils/develop/software/*

Missing stuff:

  • step 3 Internal Server:
    • there is no script yet available to upload and install the newest downloaded software / dynamic content version to Panorama/Firewall

Steps for downloading PAN-OS license:

  1. internal Server:

  • identical as for downloading PAN-OS software, please check above
  1. external Server:

  • run: pan-os-php type=key-manager add=license-apikey apikey=[LICENSE-APIKEY]
  • this Palo Alto networks license-apikey is available: your personal company license API key account can be found via https://support.paloaltonetworks.com -> Assets -> API key management - only super user can see this
  • run: php pan_license.php script
    • this script is downloading all available license into folder [pan-os-php_root]/utils/develop/license
  1. internal Server:

  • fetch license from external server from folder: [pan-os-php_root]/utils/develop/license/*

Missing stuff:

  • step 3 Internal Server:
    • there is no script yet available to upload and install the license to Panorama/Firewall