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?
 
Back
Top