-
Notifications
You must be signed in to change notification settings - Fork 116
Description
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
serverAuthin 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!