pub struct EstConfig {
pub simpleenroll: bool,
pub simplereenroll: bool,
pub fullcmc: bool,
pub serverkeygen: bool,
pub csrattrs: bool,
pub default_profile: Option<String>,
pub csr_attributes: Vec<String>,
pub labels: Vec<EstLabelConfig>,
pub disconnected: bool,
pub disconnected_retry_after_secs: u64,
}Expand description
[est] section — global EST protocol settings.
Fields§
§simpleenroll: boolEnable the /simpleenroll endpoint (RFC 7030 §4.2).
simplereenroll: boolEnable the /simplereenroll endpoint (RFC 7030 §4.2.2).
fullcmc: boolEnable the /fullcmc endpoint (RFC 7030 §4.3).
Full CMC is rarely needed; disabled by default.
serverkeygen: boolEnable the /serverkeygen endpoint (RFC 7030 §4.4).
Server-side key generation requires HSM integration. Disabled by default.
csrattrs: boolEnable the /csrattrs endpoint (RFC 7030 §4.5).
default_profile: Option<String>Default enrollment profile applied when no label is specified.
When absent, enrollment requests without a label use the default CA and authentication policy.
csr_attributes: Vec<String>CSR attribute hints returned by /csrattrs.
Each entry is an OID string (e.g., "1.2.840.113549.1.9.14" for
the Certificate Extensions Request attribute).
labels: Vec<EstLabelConfig>Per-label enrollment configurations.
disconnected: boolDisconnected mode: accept enrollment requests without upstream CA connectivity (RHELBU-3536 R7-Disconnected).
When true, the server queues CSRs for deferred signing and
returns 202 Accepted with a Retry-After header instead of
the signed certificate.
disconnected_retry_after_secs: u64Retry-After value (seconds) returned in disconnected mode. Default: 300 (5 minutes).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for EstConfig
impl<'de> Deserialize<'de> for EstConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Auto Trait Implementations§
impl Freeze for EstConfig
impl RefUnwindSafe for EstConfig
impl Send for EstConfig
impl Sync for EstConfig
impl Unpin for EstConfig
impl UnsafeUnpin for EstConfig
impl UnwindSafe for EstConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more