Skip to main content

set_identity

Function set_identity 

Source
pub fn set_identity(
    context: &mut SslContextBuilder,
    identity: &Identity,
) -> Result<(), Error>
Expand description

Configures a fresh OpenSSL context with a portable identity and ordered intermediates.

This does not change peer verification policy or include the self-signed root.

ยงErrors

Native non-exportable keys are unsupported. Other errors report chain ordering, key/certificate decoding, or OpenSSL configuration failures.