Skip to main content

role_tls

Function role_tls 

Source
pub fn role_tls(config: &Config) -> Result<Option<Tls>, AppError>
Expand description

The role’s TLS material by [tls]: none in mesh mode; in app mode the files, which must be configured and usable.

§Errors

AppError::BadArgument when a file isn’t configured, or can’t be read or used.