Documentation
Check TLS configurations, handshakes and SM-PKI certificates against BDEW AS4, BSI TR-03116-3 and BSI TR-02102-2 with utility-pki.
utility-pki turns the TLS and certificate rules of the German energy sector into Rust data, and checks four things against them:
- the configuration you deploy;
- the OpenSSL settings that produce it;
- every negotiated session;
- every certificate.
Every rule comes from the primary text and cites its table.
New here? Start with Getting started for the four calls in five minutes. If AS4, the SM-PKI or the MP-ID are new to you, read Background first.
The type-level reference is the API documentation on docs.rs.
Getting started
Install utility-pki and check a TLS configuration, a handshake and an SM-PKI certificate against BDEW AS4 in four calls.
Background
How AS4 market communication, the BSI Smart Metering PKI, MP-IDs and the BSI technical guidelines fit together, and which document sets which TLS rule.
TLS profiles
Every TLS rule of BDEW AS4, BSI TR-03116-3 and BSI TR-02102-2: versions, cipher suites, groups, signature schemes and extensions, each with its table.
Certificates
Check SM-PKI and BDEW AS4 TLS certificates from DER in Rust: brainpoolP256r1, extensions, MP-ID, endpoint URI, wildcards and validity, each by its table.
OpenSSL configuration
Export BDEW AS4, BSI TR-03116-3 or TR-02102-2 as an openssl.cnf section: protocols, cipher suites, groups, signature algorithms and options, verified.
IEC 62443
IEC 62443 names no TLS cipher suites. How to meet IEC 62443-4-2 CR 4.3 with BSI TR-02102-2, and which security-level requirements map to a TLS profile.
Sources and verification
Every primary text the utility-pki profiles come from, with version, date and link, and how each rule is tested.