Yes, I was programmatically setting up the FtpServer using the factory
classes. I thought I got SSL connections working, but when I watched
it closely, data was being sent in clear as I did not set
SSLConfiguration on the data connection. Once, I set this up,
everything worked as expected.

So, just to confirm, if I set up the server using the XML
configuration, then I do not need to have a nested <ssl> element in
the <data-connection>, right?

Thanks.

Sai Pullabhotla
Phone: (402) 408-5753
Fax: (402) 408-6861
www.jMethods.com




On Fri, Dec 12, 2008 at 7:33 AM, Niklas Gustavsson <[email protected]> wrote:
> On Fri, Dec 12, 2008 at 1:11 PM, Sai Pullabhotla
> <[email protected]> wrote:
>> It appears that the SSL Configuration needs to be done separately on
>> the control connection (listener) and the data connections. Is this
>> true? If so, why can't we automatically use the SSL Configuration that
>> is setup on the Listener with the Data Connection as well? Just
>> looking for the thoughts that went through in designing this way.
>
> That is no longer the case when using the XML config, the data
> connection now inherits the the control connection SSL settings. Or,
> are you talking about using the API directly?
>
> /niklas
>

Reply via email to