Re: FTPS Certificate authentication without passwo - WeOnlyDo Discussion board

Re: FTPS Certificate authentication without passwo (General questions)

by wodDamir, Monday, May 11, 2009, 08:47 (5464 days ago) @ tamilarasan

Hi Tamil,

Actually, wodCertificate is ActiveX (not .Net) so it won't be in GAC. You should browse for the file and add reference.

However, let's go back to your initial code. It should work. Can you try not to separate certificate/private key, but keep it in .p12 format?

Then use Import statement to import the certificate, but use wodFtpDLX's PrivateKey to pass it certificate's PrivateKey?

Something like this:

wodFtpDlx1.PrivateKey = cert.PrivateKey.ToXMLString(false);

Can you try that?

Regards,
Damba


Complete thread: