How to Fix “Incomplete Certificate Chains” on Palo Alto Firewalls

  1. Find websites that cause incomplete certificate chain errors.
    1. Filter the Decryption log to identify Decryption sessions that failed because of an incomplete certificate chain.In the filter field, type the query (err_index eq Certificate) and (error contains ‘http’). This query filters the logs for Certificate errors that contain the string “http”, which finds all of the error entries that contain the CA Issuer URL (often called the URI). The CA Issuer URL is the Authority Information Access (AIA) information for the CA Issuer.
    2. Click an Error column entry that begins “Received fatal alert UnknownCA from client. CA Issuer URL:” followed by the URI.The firewall automatically adds the selected error to the query and shows the full URI path (the full URI path may be truncated in the Error column).
  2. Copy and paste the URI into your browser and then press Enter to download the missing intermediate certificate.
  3. Click the certificate to open the dialog box.
  4. Click Open to open the certificate file.
  5. Select the Details tab and then click Copy to File….Follow the export directions. The certificate is copied to the folder you designated as you default download folder.
  6. Import the certificate into the firewall.
    1. Navigate to DeviceCertificate ManagementCertificates and then select Import.
    2. Browse to the folder where you stored the missing intermediate certificate and select it. Leave the File Format as Base64 Encoded Certificate (PEM).
    3. Name the certificate and specify any other options you want to use, then click OK.
  7. When the certificate has imported, select the certificate from the Device Certificates list to open the Certificate Information dialog.
  8. Select Trusted Root CA to mark the certificate as a Trusted Root CA on the firewall and then click OK.In DeviceCertificate ManagementCertificatesDevice Certificates, the imported certificate now appears in the list of certificates. Check the Usage column to confirm that the status is Trusted Root CA Certificate to verify that the firewall considers the certificate to be a trusted root CA.
  9. Commit the configuration.
  10. You have now repaired the broken certificate chain.The firewall doesn’t block the traffic because the CA issuer is not untrusted anymore. Repeat this process for all missing intermediate certificates to repair their certificate chains.

Ref: Repair Incomplete Certificate Chains (paloaltonetworks.com)