I'm using FtpWebReuqest, SSL enabled, to connect and upload files to an FTP server.
During testing of the module i'm developing, I've encountered an unhandled exception indicating,
"System.Security.Authentication.AuthenticationException: A call to SSPI failed, see inner exception. ---> System.ComponentModel.Win32Exception: The token supplied to the function is invalid"
Now before I decided to post this question here, I've searched the net and found several posts related to this. However, most them were not really helpful and not that clear. Hence, the post. :)
Additional info, I've already over ride the validation part of the SSL connection using the codes below:
ServicePointManager.ServerCertificateValidationCallback = new RemoteCertificateValidationCallback(MyCertValidationCb);
public static bool MyCertValidationCb(object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors sslPolicyErrors)
What I can't really figure out is the root caus
View Complete Post