E
Eric Duran
Hi,
Does anyone know how to instruct HttpWebRequest object to ignore an
invalid server certificate error?
When calling the GetResponse() method, I got a WebException exception
and the Status property of this exception says it is "TrustFailure" one. I
checked the WebExceptionStatus enumeration and the description of this
"TrustFailure" status is: "A server certificate could not be validated.".
Any pointers, ideas about how to tell HttpWebRequest not to throw an
exception because the server SSL certificate is invalid? (I'm trying to
reach a site for development purposes, thus, they have an self-created SSL
certificate)
Thanks,
Eric
Does anyone know how to instruct HttpWebRequest object to ignore an
invalid server certificate error?
When calling the GetResponse() method, I got a WebException exception
and the Status property of this exception says it is "TrustFailure" one. I
checked the WebExceptionStatus enumeration and the description of this
"TrustFailure" status is: "A server certificate could not be validated.".
Any pointers, ideas about how to tell HttpWebRequest not to throw an
exception because the server SSL certificate is invalid? (I'm trying to
reach a site for development purposes, thus, they have an self-created SSL
certificate)
Thanks,
Eric