How to import certificate/key using Rest API
6849
Created On 05/26/22 08:43 AM - Last Modified 06/01/23 02:07 AM
Objective
The article provides steps to import certificate/key using Rest API.
Environment
- Palo Alto Firewall or Panorama
- PAN-OS 9.0, 9.1 and 10.0
- Certificate import using Rest API.
Procedure
Here are different syntaxes to import certificate and private key:
- Certificate: /api/?type=import&category=certificate
- Private Key:/api/?type=import&category=private-key
- Certificate KeyPair together: /api/?type=import&category=keypair
Additional Information
- URL to check the API browser https://<mgmt-ip>/api
- Use the API Browser
- PAN-OS Rest API
- PAN-OS® and Panorama API Usage Guide: Importing files