News  [SoftwareSite

Latest News
Older News
RSS Feed
 
Complete Projects
Useful Classes
Top Downloads
Message Board
AllAPI.net
 
Send Comments
Software License
Mentalis.org Buttons
Donate
 
Forums -> Security Library Forum
 
Server doesn't get certificate  
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

 

Copyright © 2002-2007, The Mentalis.org Team. All rights reserved.
This site is located at http://www.mentalis.org/
Send comments to the webmaster.