Skip to content

Commit

Permalink
feat: Testing encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesholland-uk committed Apr 6, 2023
1 parent 05b5d52 commit d3cbc10
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions pan-os-ansible/certificate_tasks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,18 @@
username: "{{ username | default(omit) }}"
password: "{{ password | default(omit) }}"
api_key: "{{ api_key | default(omit) }}"
passphrase: "test&"

tasks:
- name: Export cert from NGFW with keys
paloaltonetworks.panos.panos_export:
provider: '{{ device }}'
category: 'certificate'
filename: '2023-jamoi-xyz-wildcard.pem'
certificate_name: '2023-jamoi-xyz-wildcard'
certificate_format: pem
certificate_include_keys: true
certificate_passphrase: "{{ passphrase }}"
# - name: Export cert from NGFW with keys
# paloaltonetworks.panos.panos_export:
# provider: '{{ device }}'
# category: 'certificate'
# filename: '2023-jamoi-xyz-wildcard.pem'
# certificate_name: '2023-jamoi-xyz-wildcard'
# certificate_format: pem
# certificate_include_keys: true
# certificate_passphrase: "{{ passphrase }}"

- name: Upload cert to Panorama
paloaltonetworks.panos.panos_import:
Expand All @@ -29,4 +30,4 @@
certificate_name: 'test12345678a'
format: 'pkcs12'
filename: 'local-ca.p12'
passphrase: "{{ passphrase }}"
passphrase: "{{ passphrase | urlencode() }}"

0 comments on commit d3cbc10

Please sign in to comment.