Closed bkarypid closed 3 years ago
:tada: Thanks for opening your first issue here! Welcome to the community!
:tada: This issue has been resolved in version 2.2.2 :tada:
The release is available on Ansible Galaxy and GitHub release
Posted by semantic-release bot
Describe the bug
According to the docs, to export a certificate the pan-os API expects the "include-key" param to be passed, with an expected value of yes or no. See https://docs.paloaltonetworks.com/pan-os/9-1/pan-os-panorama-api/pan-os-xml-api-request-types/export-files-api/export-certificates-and-keys.html for more details
However, the panos_export module is instead passing a "include-keys" param to the pan-os API, which is not an expected param.
Expected behavior
Using the panos_export module, I should be able to export a certificate from a pan-os device.
Current behavior
The task fails, with this in the error message: "PanURLError: URLError: code: 400 reason: Parameter "include-key" is required while exporting certificate"
Possible solution
Rename the include-keys param to include-key
Steps to reproduce
Executing this task will fail with the error mentioned above - see screenshot below for details
Screenshots
Context
Unable to export certificates via the panos_export module
Your Environment