Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to add another root/intermediate certificate into TrustedList to verify QESig #59

Open
climsaroj opened this issue Jul 23, 2024 · 1 comment

Comments

@climsaroj
Copy link

I've a question about how to add another root/intermediate certificate into TrustedList to verify for QESig

I've successfully add a signer certificate into customCertificate Source which is
certificateVerifier.setTrustedCertSources( trustedListSource(), trustedCertificateSource() ); certificateVerifier.setTrustedCertSources( trustedListSource(), customCertificateSource() );
and it successfully verify the signature but it the Qualification shows N/A and Unable to build a certificate chain up to a trusted list!
Screenshot 2567-07-23 at 14 16 48

So, I tried to add my root and intermediate certificate into eu-lotl-no-sig.xml and signed it and it shows that NO_CERTIFICATE_CHAIN_FOUND

Screenshot 2567-07-23 at 14 26 44

Am I do it correctly or any help would be appreciated.

Thank you

@bsanchezb
Copy link
Collaborator

Hello,

Thank you for your message.

The qualification information is build based on data extracted from two sources: the certificate and a Trusted List, according to ETSI TS 119 615. As you provide trust anchors which are not present in any Trusted List, DSS does not have sufficient information for performing a qualification determination process as per standard, thus returning the "N/A" status.

In the meantime, the AdES validation (as per ETSI EN 319 102-1) works with any provided trust anchors, without requiring a Trusted List relationship, successfully validating your certificate chain and the signature, and returning the TOTAL-PASSED indication.

I.e., without a Trusted List, the determination of a qualification status is not possible. Note, that the current certificate chain shall reach the Trusted List.

I hope this clarifies.

Best regards,
Aleksandr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants