Salve ho un problema sull' interrogazione di un servizio api "https://.........." non riesco a passargli il certificato generato con mkcert "file.cer":
            var httpWebRequest = (HttpWebRequest)WebRequest.Create("https://.................");
            httpWebRequest.ContentType = "application/json";
            httpWebRequest.Method = "POST";
            X509Certificate cert = new X509Certificate(@"C:\................\certificate\HOSTNAME.cer");
            httpWebRequest.ClientCertificates.Add(cert);
dove sbaglio grazie