Skip to content

FtpClientConfiguration.ClientCertificates.Add not working #33

@hung-doan

Description

@hung-doan

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"));

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions