Expand description
Configuration loading and validation.
The Kipuka EST server is configured via a single TOML file. The
top-level Config struct owns all sub-configurations and provides
Config::from_file for loading with semantic validation.
§Example configuration
[server]
listen_addr = "0.0.0.0:8443"
[tls]
enabled = true
cert_file = "/etc/kipuka/server.crt"
key_file = "/etc/kipuka/server.key"
ca_file = "/etc/kipuka/est-ca.pem"
[database]
url = "sqlite:///var/lib/kipuka/kipuka.db"
[[ca]]
id = "default"
is_default = true
key_file = "/etc/kipuka/ca.key"
cert_file = "/etc/kipuka/ca.crt"
[est]
simpleenroll = true
simplereenroll = true
[audit]
enabled = trueRe-exports§
pub use crate::ocsp::OcspConfig;
Structs§
- Admin
Config [admin]section — administrative API configuration.- Admin
Gssapi Config - GSSAPI/SPNEGO configuration for admin authentication.
- Audit
Config [audit]section — audit trail configuration.- CaConfig
[[ca]]section — per-CA key material and issuance policy.- CmpConfig
[cmp]section — CMP v3 certificate management endpoint.- CmsEst
Config [cms_est]section — CMS message-level security for EST.- Coap
Config [coap]section — CoAP transport for constrained devices.- Config
- Root configuration for the Kipuka EST server.
- DbConfig
[database]section — connection pool configuration.- EstConfig
[est]section — global EST protocol settings.- EstLabel
Config [[est.label]]— per-label enrollment profile.- HsmConfig
[hsm]section — PKCS#11 HSM configuration.- Ocsp
Stapling Config - OCSP stapling configuration for the TLS listener.
- OtpConfig
[otp]section — OTP enrollment authentication configuration.- OtpLdap
Config - LDAP backend configuration for OTP storage (RHELBU-3536 R7).
- Server
Config [server]section — network listener and general server tuning.- Star
Config [star]section — Short-Term Automatic Renewal certificates.- TlsConfig
[tls]section — TLS configuration for the EST listener.
Enums§
- Admin
Auth Method - Admin authentication method.
- Client
Auth Mode - Client certificate authentication mode.
- EstAuth
Method - Authentication method for EST enrollment requests.
- HsmProvider
- HSM provider identifier.
- OtpStorage
Backend - OTP storage backend.
- Overflow
Policy - What to do when audit storage is exhausted (FAU_STG.4).
- Rotation
Policy - Audit log rotation policy.