<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Problem with Alfresco's FTPes in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/problem-with-alfresco-s-ftpes/m-p/121030#M33210</link>
    <description>&lt;P&gt;Did you try following this tutorial?&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.venzia.es/how-to-enable-and-configure-ftps-on-alfresco/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://community.venzia.es/how-to-enable-and-configure-ftps-on-alfresco/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I guess that should still be working for 6.1.2&lt;/P&gt;</description>
    <pubDate>Wed, 28 Jul 2021 10:58:07 GMT</pubDate>
    <dc:creator>angelborroy</dc:creator>
    <dc:date>2021-07-28T10:58:07Z</dc:date>
    <item>
      <title>Problem with Alfresco's FTPes</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/problem-with-alfresco-s-ftpes/m-p/121029#M33209</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm trying to set up secure FTP (FTPes). Unfortunately, the server is not responding. I see 0 logs - even after swtiching o.a.ftp.server, o.a.f.protocol,&amp;nbsp;&lt;SPAN&gt;o.a.f.auth.ftp&lt;/SPAN&gt; &amp;nbsp;to TRACE. What can be wrong?&lt;/P&gt;&lt;P&gt;To make no mistakes I followed step by step with the &lt;A href="http://formtektips.blogspot.com/2018/11/set-up-and-configure-ftps-with-alfresco.html" target="_self" rel="nofollow noopener noreferrer"&gt;formtektips tutorial&lt;/A&gt;. But still the same error and lack of logs. I'm using Alfresco Community 6.1.2.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot from 2021-07-28 09-56-39.png" style="width: 517px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/1106iABCEE239DC3C7FCE/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot from 2021-07-28 09-57-14.png" style="width: 571px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/1105iA9AFD5F172A198F8/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Previously I tested FTP and it was working. I'm trying to connect via FileZilla.&lt;/P&gt;&lt;P&gt;My alfresco-global.properties settings:&lt;/P&gt;&lt;PRE&gt;ftp.enabled=true
ftp.port=2021
ftp.ipv6.enabled=false
ftp.keyStore=/opt/alfresco/.keystore
ftp.trustStore=/opt/alfresco/.truststore
ftp.keyStorePassphrase=secret
ftp.trustStorePassphrase=secret
ftp.requireSecureSession=true&lt;/PRE&gt;</description>
      <pubDate>Wed, 28 Jul 2021 08:04:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/problem-with-alfresco-s-ftpes/m-p/121029#M33209</guid>
      <dc:creator>upforsin</dc:creator>
      <dc:date>2021-07-28T08:04:56Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Alfresco's FTPes</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/problem-with-alfresco-s-ftpes/m-p/121030#M33210</link>
      <description>&lt;P&gt;Did you try following this tutorial?&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.venzia.es/how-to-enable-and-configure-ftps-on-alfresco/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://community.venzia.es/how-to-enable-and-configure-ftps-on-alfresco/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I guess that should still be working for 6.1.2&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jul 2021 10:58:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/problem-with-alfresco-s-ftpes/m-p/121030#M33210</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2021-07-28T10:58:07Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Alfresco's FTPes</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/problem-with-alfresco-s-ftpes/m-p/121031#M33211</link>
      <description>&lt;P&gt;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/5487"&gt;@angelborroy&lt;/A&gt;&amp;nbsp;well, it's almost the same but still I followed it and there is the same problem.&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is Wireshark's FTP conversation:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot from 2021-07-28 17-08-29.png" style="width: 492px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/1104i3926EA62B3DF8B86/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Maybe Aflresco does not understand the current TLS version (1.3)? It just does not respond after switching to TLS secure session.&lt;/P&gt;&lt;P&gt;If only there were any logs..&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jul 2021 15:09:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/problem-with-alfresco-s-ftpes/m-p/121031#M33211</guid>
      <dc:creator>upforsin</dc:creator>
      <dc:date>2021-07-28T15:09:09Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Alfresco's FTPes</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/problem-with-alfresco-s-ftpes/m-p/121032#M33212</link>
      <description>&lt;P&gt;Are you using a certificate for the client connection from your FTP Client?&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jul 2021 07:39:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/problem-with-alfresco-s-ftpes/m-p/121032#M33212</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2021-07-29T07:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Alfresco's FTPes</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/problem-with-alfresco-s-ftpes/m-p/121033#M33213</link>
      <description>&lt;P&gt;No. While connecting to other FTP over TLS servers I have a popup with a certificate to accept after the connection is established.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jul 2021 09:15:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/problem-with-alfresco-s-ftpes/m-p/121033#M33213</guid>
      <dc:creator>upforsin</dc:creator>
      <dc:date>2021-07-29T09:15:02Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Alfresco's FTPes</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/problem-with-alfresco-s-ftpes/m-p/121034#M33214</link>
      <description>&lt;P&gt;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/5487"&gt;@angelborroy&lt;/A&gt;&amp;nbsp; Ok, I changed openJDK version from&amp;nbsp;&lt;FONT color="#FF6600"&gt;&lt;STRONG&gt;8u292&lt;/STRONG&gt;-b10-0ubuntu1~18.04&lt;/FONT&gt; to&amp;nbsp;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;8u162&lt;/STRONG&gt;-b12-1&lt;/FONT&gt;&amp;nbsp;(8u252&amp;nbsp;also works) and now I am one step closer.&lt;/P&gt;&lt;P&gt;TLS connection is establised but there is still &lt;U&gt;data connection error&lt;/U&gt;.&lt;/P&gt;&lt;P&gt;In logs I can see&lt;/P&gt;&lt;PRE&gt; 2021-11-19 10:10:00,123  ERROR [org.alfresco.fileserver] [Sess_FTP6_113.132.19.22] Error from JLAN
 java.net.SocketException: &lt;STRONG&gt;Network is unreachable (connect failed)&lt;/STRONG&gt;
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
        at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
        at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
        at java.net.Socket.connect(Socket.java:589)&lt;/PRE&gt;&lt;P&gt;And when i debugged, I can see that socket is trying to connect the private network address - 192.168.x.x&lt;/P&gt;&lt;P&gt;FileZilla output:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Screenshot from 2021-11-19 13-39-08.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/1107i6AA8F790D409526E/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I alfresco-global.properties config, 'alfresco.host' is set to 'localhost' and I have nginx, but I dont know if it's a problem, because FTP is working....&lt;/P&gt;&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;EDIT.&lt;/STRONG&gt; Alright, I managed to get it working. There is some kind of a bug (?) in Ubuntu's FileZilla, on &lt;STRONG&gt;Windows it just works&lt;/STRONG&gt;... (setting ftp.externalAddress does not help)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;PS. For future readers:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;to enable FTP debugging, aprart from setting log4j options, you should also specifiy those settings in the alfresco-global.properties file:&lt;/FONT&gt;&lt;/P&gt;&lt;PRE&gt;&lt;FONT size="2"&gt;ftp.sessionDebug=SSL
ftp.sslEngineDebug=SSL
ftp.sslEngineDebug=true&lt;/FONT&gt;&lt;/PRE&gt;&lt;P&gt;&lt;FONT size="2"&gt;And if someone is using a Firewall it's good to specify ftp data range and then add those ports in Firewall rules&lt;/FONT&gt;&lt;/P&gt;&lt;PRE&gt;&lt;FONT size="2"&gt;ftp.dataPortFrom=34000
ftp.dataPortTo=44000&lt;/FONT&gt;&lt;/PRE&gt;&lt;P&gt;&lt;FONT color="#FF9900"&gt;&lt;STRONG&gt;EDIT2&lt;/STRONG&gt;. I tested it on Alfresco 7.2 with JDK11 and it's even worse. It still works only on Windows and you have to set additional Java proeprties to make it work:&lt;/FONT&gt;&lt;/P&gt;&lt;PRE&gt;&lt;FONT color="#000000"&gt;JAVA_OPTS="${JAVA_OPTS} -Djdk.tls.server.protocols=TLSv1.2 -Djdk.tls.client.protocols=TLSv1.2 -Djdk.tls.acknowledgeCloseNotify=true"&lt;/FONT&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 19 Nov 2021 12:40:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/problem-with-alfresco-s-ftpes/m-p/121034#M33214</guid>
      <dc:creator>upforsin</dc:creator>
      <dc:date>2021-11-19T12:40:18Z</dc:date>
    </item>
  </channel>
</rss>

