This project is read-only.

Mutual Authentication

Dec 15, 2010 at 8:08 PM

 Hi Alex, Thanks alot for sharing great work. I have question does this library supports "mutual authentication"? If it does where can i get more information about it?
I will be so greatful for kind reply.
Best wishes,

Date: 14 Dec 2010 09:18:48 -0800
To: Alessandro Pilotti

Hi Ash,

As a first step, please take a look at the client certificate support in the library.
Let me know if this helps.



P.S.: In case of a follow up, could u please post your question on the discussion forum on Tx!


Hi, sorry i am new to authentication stuff. I need to know what can i do in code or how to implement mutual Authentication using this Alex library? I used Alex library in my project and have all of the certificates valid at the moment.

 using (FTPSClient client = new FTPSClient())
                        new NetworkCredential(customer.SendFile.UserId.ToString(),
                     , ESSLSupportMode.CredentialsRequired | ESSLSupportMode.DataChannelRequested
                      , new System.Net.Security.RemoteCertificateValidationCallback(ValidateTestServerCertificate)


    private static bool ValidateTestServerCertificate(object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors sslPolicyErrors)
            // Accept any certificate
            return true;




Mar 2, 2011 at 11:50 PM


look at the sslClientCertPath option for mutual authentication. Basically you have to provide the path of your client certificate.



Alessandro Pilotti

[ MVP / IIS ]