c# - Send a file via HTTP POST UploadFile Error: Could not establish trust relationship for the SSL/TLS secure channel -
i trying post xml file url given me:
https://54.xx.xx.xxx/mycompany/path
using (webclient client = new webclient()) { client.uploadfile(url, filepath); }
however, error:
"the underlying connection closed: not establish trust relationship ssl/tls secure channel."
when open url, returns page saying "running" however, see lock x on it, error: "the identity of website has not been verified".
could problem? need light please.
it seems site uses ssl certificate authenticity , reason, application verifies authenticity , not allow operation run due "lack of security"
possibly certificate expired?
Comments
Post a Comment