Client Certificate not passing to Web Service

M

Michel Meyer

I Attached programmatically a client certificate to a Web Service Proxy like
Microsoft Exemple
// Create a new instance of a proxy class for the Bank XML Web service.
BankSession bank = new BankSession();

// Load the client certificate from a file.
X509Certificate x509 = X509Certificate.CreateFromCertFile(@"c:\user.cer");

// Add the client certificate to the ClientCertificates property of the
proxy class.
bank.ClientCertificates.Add(x509);

// Communicate with the Deposit XML Web service method,
// which requires authentication using client certificates.
bank.Deposit(500);


When try to retrieve the certificate on Web Service side:

HttpClientCertificate cs = Context.Request.ClientCertificate;

byte[] rawcert = cs.Certificate;

No certificate is passed.

Wehen I try to call the Web Service withe the I.E. Bowser and supplying a
client certificate, it woorkd fine! What I'm doing wrong?



Thanks for your help
 
A

alexander dimitrov

hi
i have the same problem. send me an email if you
find a solution. thanks in advance.

alexander

p.s. my email is: (e-mail address removed)

*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top