pub async fn parse_tls_cert(
    key: Option<PathBuf>,
    cert: Option<PathBuf>
) -> Result<(Vec<Certificate>, PrivateKey)>