load_server_config

Function load_server_config 

Source
pub fn load_server_config(
    cert_path: &Path,
    key_path: &Path,
    ca_path: &Path,
) -> Result<ServerConfig, TunnelError>
Expand description

Load server TLS config with mTLS (client certificate verification)

ยงArguments

  • cert_path - Path to server certificate PEM file
  • key_path - Path to server private key PEM file
  • ca_path - Path to CA certificate for verifying client certificates