Skip to content

False positive: e_tls_server_cert_valid_time_longer_than_398_days triggered on qualified certificates with QSCD (eIDAS) #951

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

Open
lmgonzale-not opened this issue May 13, 2025 · 0 comments

Comments

@lmgonzale-not
Copy link

ZLint is incorrectly flagging qualified certificates issued under eIDAS with a QSCD (Qualified Signature Creation Device) as violating the "validity period greater than 398 days" rule (e_tls_server_cert_valid_time_longer_than_398_days), even though these certificates are not TLS server certificates and are not subject to that limitation.

Our certificate is:

  • Is qualified under eIDAS (0.4.0.194112.1.0)
  • Is issued for electronic signature on a QSCD (0.4.0.194112.1.2)
  • Is not a TLS server certificate – it does not contain serverAuth in its Extended Key Usage
  • Not intended or used for TLS server authentication

And contains these OIDs:

  • 1.3.6.1.5.5.7.11.2 → Qualified Certificate syntax v2 (PKIX)
  • 0.4.0.194121.1.1 → Semantic identifier for natural persons
  • 0.4.0.1862.1.1 → Indicates ETSI compliance
  • 0.4.0.1862.1.4 → Indicates use of a Secure Signature Creation Device (SSCD/QSCD)
  • 0.4.0.1862.1.6.1 → QCT for electronic signature

The Key Usage is Digital Signature.

We have other qualified certificates (under eIDAS) that are not issued via QSCD, and these do not trigger the e_tls_server_cert_valid_time_longer_than_398_days error in ZLint.

This shows that the issue appears specifically when the certificate includes the etsiQcsQcSSCD OID (0.4.0.1862.1.4), which indicates that the certificate is bound to a qualified signature creation device (QSCD).

These certificates are intended for qualified electronic signatures, not for TLS.

Thanks for your work on ZLint!

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

1 participant