pub async fn build_datadog_agent_server_tls_config<P: AsRef<Path>>(
cert_path: P,
) -> Result<ServerConfig, GenericError>Expand description
Builds a server TLS configuration for the Datadog Agent’s IPC endpoint.
This function reads the certificate file, parses the certificate and private key, and creates a server TLS configuration. The certificate path is expected to be a PEM-encoded file containing both the certificate and private key.