CurlSharp icon indicating copy to clipboard operation
CurlSharp copied to clipboard

Curl SSL Two way communiation

Open gurumurthyjv opened this issue 8 years ago • 0 comments

any one can help me out with curl ssl 2 way communication. using the below code snippet

using (var easy = new CurlEasy()) { easy.AutoReferer = true; easy.FollowLocation = true; easy.Url = textBoxUrl.Text.Trim(); easy.CaInfo = @"------------.crt-----------------------------"; easy.CaPath = @"----------------.crt-------------------------"; easy.SslKey = @"-----------.key------------------------------"; easy.SslCert = @"----------------.crt-------------------------";

            easy.WriteFunction = OnWriteData;
            easy.Perform();
        }

provide me any example c# code for curl ssl 2 way communication

getting below error

"Unknown CA (48)"

Thanks.

gurumurthyjv avatar Feb 27 '18 08:02 gurumurthyjv