Re: FTPS Certificate authentication without passwo (General questions)
Tamil,
Unfortunately, this isn't supported in Titan FTP Server. Titan requires certificates to be secured using password, since that password is used to encrypt/decrypt the certificate.
You would need to find a Server that does. I tried the following code with our wodFtpServer so I can confirm that works:
[code] WeOnlyDo.Client.FtpDLX ftp1 = new WeOnlyDo.Client.FtpDLX();
System.Security.Cryptography.X509Certificates.X509Certificate2 cert = new System.Security.Cryptography.X509Certificates.X509Certificate2();
cert.Import(@ C:certificate.pfx , , System.Security.Cryptography.X509Certificates.X509KeyStorageFlags.Exportable);
ftp1.Hostname = 127.0.0.1 ;
ftp1.Login = Damir ;
ftp1.Protocol = WeOnlyDo.Client.Protocols.FTPS;
ftp1.Authentication = WeOnlyDo.Client.Authentications.Certificate;
ftp1.Blocking = true;
ftp1.Certificate = cert;
ftp1.PrivateKey = cert.PrivateKey.ToXmlString(false);
ftp1.Connect();[/code]
If you wish, you can download trial version of wodFtpServer, and try it out with the samples.
You can download it directly from here: http://www.weonlydo.com/Samples/wodFTPServer.exe
Hope this helps.
Regards,
Damba
Complete thread:
- FTPS Certificate authentication without password - tamilarasan, 2009-05-07, 11:55
- Re: FTPS Certificate authentication without passwo - wodDamir, 2009-05-07, 14:14
- Re: FTPS Certificate authentication without passwo - tamilarasan, 2009-05-07, 14:30
- Re: FTPS Certificate authentication without passwo - wodDamir, 2009-05-07, 15:44
- Re: FTPS Certificate authentication without passwo - tamilarasan, 2009-05-08, 06:29
- Re: FTPS Certificate authentication without passwo - tamilarasan, 2009-05-09, 07:25
- Re: FTPS Certificate authentication without passwo - woddrazen, 2009-05-09, 09:37
- Re: FTPS Certificate authentication without passwo - tamilarasan, 2009-05-09, 10:55
- Re: FTPS Certificate authentication without passwo - woddrazen, 2009-05-09, 17:56
- Re: FTPS Certificate authentication without passwo - tamilarasan, 2009-05-11, 07:17
- Re: FTPS Certificate authentication without passwo - wodDamir, 2009-05-11, 08:47
- Re: FTPS Certificate authentication without passwo - tamilarasan, 2009-05-11, 08:55
- Re: FTPS Certificate authentication without passwo - wodDamir, 2009-05-11, 09:23
- Re: FTPS Certificate authentication without passwo - tamilarasan, 2009-05-11, 08:55
- Re: FTPS Certificate authentication without passwo - wodDamir, 2009-05-11, 08:47
- Re: FTPS Certificate authentication without passwo - tamilarasan, 2009-05-11, 07:17
- Re: FTPS Certificate authentication without passwo - woddrazen, 2009-05-09, 17:56
- Re: FTPS Certificate authentication without passwo - tamilarasan, 2009-05-09, 10:55
- Re: FTPS Certificate authentication without passwo - woddrazen, 2009-05-09, 09:37
- Re: FTPS Certificate authentication without passwo - tamilarasan, 2009-05-09, 07:25
- Re: FTPS Certificate authentication without passwo - tamilarasan, 2009-05-08, 06:29
- Re: FTPS Certificate authentication without passwo - wodDamir, 2009-05-07, 15:44
- Re: FTPS Certificate authentication without passwo - tamilarasan, 2009-05-07, 14:30
- Re: FTPS Certificate authentication without passwo - wodDamir, 2009-05-07, 14:14