Prerequisites
- An application that holds the certificate to deploy
- A Palo Alto Networks connection to the firewall or Panorama
- On a Panorama, a template
- To push to firewalls, a template stack that contains the template
- An SSL/TLS service profile on the firewall or in the template, either shared or in a virtual system
Create a sync
- Infisical UI
- API
1
In your application, open the Certificate Syncs tab and select Add Sync.
2
Select Palo Alto Networks SSL/TLS Profile.
3
Configure the destination, then select Continue:
- Palo Alto Networks Connection: the connection to the firewall or Panorama
- Template (Panorama only): the template to import the certificate into
- SSL/TLS Service Profile: the profile that uses the synced certificate
- Push to Devices (Panorama only): whether the sync pushes the committed changes to firewalls (on by default)
4
Configure the sync options, then select Continue:
- Remove certificates from destination: delete the old certificate from the device when it’s replaced or no longer active in Infisical
- Preserve certificate on renewal: replace the certificate in place when it’s renewed (see Certificate renewal)
- Certificate name schema: the name of the certificate object on the device, up to 31 characters (use
{{shortCertificateId}}rather than{{certificateId}}, which is too long) - Auto-sync on change: sync the certificate as soon as it’s issued or renewed
5
Enter a Name and an optional Description for the sync, then select Continue.
6
Select the Certificate Order the sync holds, then select Continue. A certificate order is a certificate together with its renewals.
7
Review the configuration and select Create Sync.
How it works
Each time it runs, the sync imports the certificate the same way a Palo Alto Networks sync does, then sets it as the profile’s certificate. The sync doesn’t create the profile or change its other settings.Certificate renewal
When the certificate is renewed, the result depends on Preserve certificate on renewal:- On (default): the sync replaces the certificate object in place, so the profile keeps using it
- Off: the sync creates a new certificate object, switches the profile to it, and deletes the old one only if Remove certificates from destination is on
Removing the certificate
PAN-OS won’t delete a certificate that a profile still uses. When you switch the sync to another certificate order, the sync moves the profile to the new certificate first, then deletes the old one. To remove the certificate without switching orders, pick a Replacement Certificate from the device. The field appears in Remove Certificates, and when you save an edit that drops the certificate. The sync moves the profile to the replacement, then deletes the synced certificate. Through the API, passremovalOptions.replacementCertificateName to the Remove certificates or Update endpoint.
Without a replacement, the edit isn’t saved and Remove Certificates fails. The certificate stays on the device.
Manual sync
To sync on demand, use the Sync certificates to Palo Alto Networks SSL/TLS Profile endpoint.FAQ
Can several profiles use the same certificate?
Can several profiles use the same certificate?
Yes. Each sync updates one profile, so create one sync for each profile.
Next steps
Palo Alto Networks
Deploy certificates to the certificate store without changing a profile.
Renewal
Renew a certificate, and change its details as part of the renewal.
Alerting
Get notified about certificate lifecycle events.
Certificate syncs
View all supported sync destinations.