utility-pki

Sources and verification

Every primary text the utility-pki profiles come from, with version, date and link, and how each rule is tested.

Primary texts

Every rule comes from these documents, which were checked table by table. All of them are free to download.

DocumentVersionUsed for
BSI TR-03116-3Stand 2025, 13.12.2024TLS rules of BSI_TR_03116_3 and BDEW_AS4; certificate keys and signature algorithms
BSI TR-03109-41.2.1, 09.08.2017SM-PKI certificate profile (Annex A), validity periods (Tab. 11)
Certificate Policy SM-PKI1.1.2, 25.01.2023names (Tab. 20–27), SubjectAltName (A.7.1), revocation (4.9)
BDEW AS4-Profil1.2, 01.04.2026, applies from 01.10.2026TLS for AS4 (2.2.6.1), key pairs and MP-ID (2.3.4.4)
Regelungen zum Übertragungsweg AS42.6, 01.04.2026SNI (3), certificate content (5.2), successor certificates (5.3), CRLs (5.4)
BSI TR-02102-22026-01BSI_TR_02102_2
OpenSSL ciphers -V -stdname, list -tls-groups, SSL_CONF_cmd(3)4.1.0the OpenSSL names of openssl()

How the rules are tested

  • Tables. Every encoded table has a test that names it, for example tr_03116_3_tables_7_to_16.
  • Certificates. Each certificate rule has a fixture that breaks only that rule; the fixtures are generated with OpenSSL by tests/data/gen.sh. A conforming certificate must pass with zero findings.
  • OpenSSL. Every name in the export table is pinned by a test, and just openssl passes every exported value to a real OpenSSL, which rejects unknown names.
  • Robustness. The DER reader is fuzzed with libFuzzer (just fuzz), and every truncation and single-byte corruption of a valid certificate is tested.
  • No panics. The release build for a Cortex-M is scanned for panic symbols in CI.
  • No dependencies. CI checks that the dependency tree is empty with every feature.

The security requirements behind these tests are listed in the threat model.

Edit this page on GitHub