CoreFTP icon indicating copy to clipboard operation
CoreFTP copied to clipboard

FtpClientConfiguration.ClientCertificates.Add not working

Open hung-doan opened this issue 7 years ago • 0 comments

I added my certificate in FtpClientConfiguration, but I still receive error.

System.AggregateException: One or more errors occurred. (The remote certificate is invalid according to the validation procedure.) ---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure.

ftpFfg.ClientCertificates.Add(new X509Certificate2(@"C:\mycer.cer"));

hung-doan avatar Aug 25 '17 10:08 hung-doan