Help Posting XML to SSL enabled Web Service

  • Thread starter Thread starter nomad
  • Start date Start date
N

nomad

Hi,

I have been scouring the web looking for ways to be able to pick a
certificate from the local machines certificate store and attach it to
HTTPWebRequest using ClientCertificates.Add. This code works a treat
and I can see that the correct certificate has been added but when I
try and post the XML I get a "Unable to connect to server" message,
which is basically telling me that the certificate wasn't present. I
have also ignored all certificate errors but with no luck.

If anyone could help it would be much appreciated.
 
Hi,

I have been scouring the web looking for ways to be able to pick a
certificate from the local machines certificate store and attach it to
HTTPWebRequest using ClientCertificates.Add. This code works a treat
and I can see that the correct certificate has been added but when I
try and post the XML I get a "Unable to connect to server" message,
Maybe your machine is literally "Unable to connect to server"?
 
Maybe your machine is literally "Unable to connect to server"?

Hi,

The solution we have in place in VB6 is able to connect via WinTTP,
but we are re-writing our system in C#. Unfortunately I am unable to
connect when using HTTPWebRequest with a certificate attached. Any
ideas why this may be?
 

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

Back
Top