EldoS | Feel safer!

Software components for data protection, secure storage and transfer

FTP Server - Certificate Authentication

Posted: 10/03/2013 16:00:25
by Daniel Medina (Standard support level)
Joined: 06/21/2011
Posts: 20


I've been looking at the FTPS server sample and it seems that only password authentication is supported. Is it possible to support certificate authentication on any of your FTPS Servers (pref. with TELSimpleFTPSServer)?

If is it possible, can you give me a sample code of how to validate it ?

Posted: 10/04/2013 05:57:44
by Mykola Olshevsky (Basic support level)
Joined: 07/07/2005
Posts: 442

Hi. You should handle .OnEstablishSecureConnection event of TElFTPSServer instance, there you'll get access to SSLServer instance, and should configure it to request certificate, setup needed event handlers and so on.

To get to the TElFTPSServer instance, you should handle .OnNewConnection event of ElSimplFTPSServer - there you can get the ElSimpleFTPSServerSessionThread object, which has FTPSServer property.
Posted: 10/04/2013 15:08:46
by Daniel Medina (Standard support level)
Joined: 06/21/2011
Posts: 20


I was looking for a SSLServer example to see how this works, but it needs the SSLSocket assembly that was not included in the package 11.0.239 for .Net 4
Posted: 10/05/2013 00:39:27
by Eugene Mayevski (Team)

SSLSocket assembly is provided in source code. It's located in Classes folder.

Sincerely yours
Eugene Mayevski



Topic viewed 955 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS business operates as a division of /n software, inc. For more information, please read the announcement.

Got it!