Skip to main content

Module tls

Module tls 

Source
Expand description

EAP TLS certificate and private key validation. EAP/RADIUS certificate preflight checks.

The official Kanidm RADIUS entrypoint expects files for a certificate chain and matching private key. Reject invalid referenced Kubernetes Secret data before modifying the active Deployment or Kanidm credentials.

This only validates PEM structure, certificate validity dates and leaf/key correspondence. It does not issue certificates or establish which CA a NAS device trusts; clients must trust the operator-supplied certificate chain.

Enums§

RadiusTlsError
Errors deliberately omit certificate/key data and sensitive identifiers.

Functions§

validate_eap_tls_material
Validate the expected keys from a user-owned TLS Secret.