- Changed filename to certname to better reflect the actual issue at hand. - Restored _cdomain variable to its original place for clarity.
change to while loop use global variable for loop fix if statement to be sh compliant shfmt
It was discovered in testing that PAN-OS < 9.0 has slightly different requirements for the multipart/form-data format and requires the `type` parameter to be passed in the URL. These corrections should work for all PAN-OS versions.