I'm running into an issue connecting to a web service that is protected with a ssl cert. I have the PFX key, and have included the WSDL in my project. However, i always get a "Forbidden" error. At first I thought this was just a problem with the key, so we regenerated the certs and keys and tried again... Still Forbidden. The group who is hosting the web service turned up their logging and found that my cert is NOT being passed. Yet when I look at my call to the webservice, I can see the cert is attached to the object.
Is there anything I'm doing obviously wrong?
Apologies for this being in VB.NET ;)
Dim ServiceResults As New prod.Service1
ServiceResults.ClientCertificates.Add(New X509Certificate("d:\mypfx.pfx"))
' ServiceResults shows that it has a cert attached.
Dim ds As New DataSet = ServiceResults.GetDataSet(parameters) ' Forbidden ex thrown
' owner of the web service says NO cert is ...
Go to the complete details ...