Probably because you have to manually add some root CA's certificates in @ninja-labs\verify-pdf\lib\helpers\rootCAs.json.
Also, verifyRootCert in verify.js might throw an error and the verification is set to false. Try splitting the logic there in two separate try catch blocks like this:
const verifyRootCert = (chainRootInForgeFormat) => {
Probably because you have to manually add some root CA's certificates in @ninja-labs\verify-pdf\lib\helpers\rootCAs.json.
Also, verifyRootCert in verify.js might throw an error and the verification is set to false. Try splitting the logic there in two separate try catch blocks like this: const verifyRootCert = (chainRootInForgeFormat) => {
}