Implemented a fallback for looking up certificates in a chain in order to verify signatures.