Hi,
I am doing an HTTP POST and attaching a certificate to request , something like this
string certFileName = @"C:\XYZ.cer";
X509Certificate Cert = X509Certificate.CreateFromCertFile(certFileName);
request.ClientCertificates.Add(Cert);
This is the error in the Host/Remote Server response and not a exception.
ERROR=Server Error System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> Specified argument was out of the range of valid values.
Parameter name: actualCertificate
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
Any help is appreciated.
Thanks! ...
Go to the complete details ...