Skip to main content

validate_cert_attributes

Function validate_cert_attributes 

Source
pub fn validate_cert_attributes(
    auth: &AuthResult,
    allowed_subject_patterns: &[String],
    allowed_issuer_patterns: &[String],
) -> Result<(), String>
Expand description

Validate certificate attribute matching against configured patterns.

RHELBU-3536 R19: the EST server MAY enforce that the client certificate matches configured subject DN patterns, SAN patterns, or issuer constraints.