sedj
Programmer
- Aug 6, 2002
- 5,610
Hi,
I'm attempting to send an x509 certificate along with an http(s) request, but I don't think its actually sending the cert over the connection. There are no errors apparent either when running the code.
I'm fairly sure the cert is not being sent, because I wrote a test SSL server for the client to hit so I can see exactly the data being sent.
Anybody have any ideas ?
Cheers
--------------------------------------------------
Free Java/J2EE Database Connection Pooling Software
I'm attempting to send an x509 certificate along with an http(s) request, but I don't think its actually sending the cert over the connection. There are no errors apparent either when running the code.
I'm fairly sure the cert is not being sent, because I wrote a test SSL server for the client to hit so I can see exactly the data being sent.
Code:
HttpWebRequest request = (HttpWebRequest)WebRequest.Create("[URL unfurl="true"]https://localhost/bla");[/URL]
X509Certificate cert = X509Certificate2.CreateFromCertFile(fileName);
request.ClientCertificates.Add(cert);
... send data etc ...
Anybody have any ideas ?
Cheers
--------------------------------------------------
Free Java/J2EE Database Connection Pooling Software