by Maria posted on 2005/11/14 |
|
Hello,
Can anyone suggest what the problem is with the following code (it is based on your certificate example):
Certificate clientCert=Certificate.CreateFromPfxFile(@"C:\111\client_igor.pfx","1234",true);
X509Certificate certX509=clientCert.ToX509();
HttpWebRequest request=(HttpWebRequest)WebRequest.Create("https://localhost:8443/");
request.ClientCertificates.Add(certX509);
WebResponse response=request.GetResponse();
The server says: ALERT: warning, no_certificate
Thank you in advance,
Maria |