EPM - A certificate chain could not be built to a trusted root authority

EPM - A certificate chain could not be built to a trusted root authority

138
Created On 11/10/26 10:58 AM - Last Modified 11/10/26 16:11 PM


Symptom


An app will not use the indented policy.

vf_agent_srv.trace log file contains an entry "A certificate chain could not be built to a trusted root authority.
(0x800B010A))"

Example:
2021.12.13 11:56:26 PID:3424 TID:19900 CvfFileSignature::OpenEmbeddedAndVerify: INFO: WinVerifyTrust(WTD_CHOICE_FILE, C:\Program Files (x86)\EDGE Software\EDGE\Bin\Edge.Borg.Pricing.exe) returned -2146762486 (A certificate chain could not be built to a trusted root authority.
(0x800B010A))


Environment


21.10;21.11;21.12;25.8 Tested in EPM SaaS Agent version 21.10

Cause


The issue is caused by a problem outside of EPM.  There is a problem with the certificate chain on that one app, or the workstation has a problem with something missing from its trusted root authority.

Resolution


Troubleshooting steps:
1) Use windows explorer to navigate to where the problem app is located (should match the executable from the vf_agent_srv.trace logs)

2) Right click the executable and choose properties.

3) Go to the digital signatures tab and then Click the "Details"
image.png


4) Check that if it shows the Digital Signature is OK

image.png
5) Click "View Certificate"

6) In the "Certification Path" tab, check that the Certificate is ok.

image.png


The above screenshots were from an executable with no certificate problems.
Here are some examples of what you might see if there is a certificate problem:

"The certificate in the signature cannot be verified"
image.png
"Windows does not have enough information to verify this certificate"
image.png


If you encounter one of the above messages, the issue is not an EPM issue.  Here are the recommended ways to proceed.

I. Not related to EPM:
- The customer should log in to a workstation as an administrator
- mmc.exe > add remove snap in > certificates > add > ok
- When the certificates mmc console opens, expand trusted root certification authorities > certificates
- The customer can reach out to the support for the product to ask them about their certificate. Perhaps it is a known issue on their end that they need to correct. As a possible workaround, maybe their support they can provide a root certificate to import so that the endpoint knows how to verify the certificate chain.

II. Using EPM:
Using filename/publisher is the most secure, but as a workaround you can consider making a policy without using the publisher. You can use this as a workaround while waiting for the software vendor support to assist with the certificate issue. Here are some options:

1) Use checksums instead of publisher in the file parameters
pros: will allow policy to work
cons: requires a lot of admin overhead, as you mentioned, because each new version of the file will have a new checksum.

2) Use other parameters besides publisher or checksum.
- Specify as many parameters as possible, such as "product" to make it secure as possible.
pros: should allow policy to work, with minimal admin overhead needed for future versions
cons: less secure than publisher or checksum


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000001ZrlCAE&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail