Services Products About Us Case Studies Clients
Modern Signal
Modern Signal Home Page
Lighthouse on beach About Us
Offering a full range of development services: strategy, design, application programming, database development
News & Recents Projects

Accessing FileZilla SSL from Aptana

We have a production server that is set up with Filezilla FTP server.  For obvious security reasons, we require an SSL connection to the server.  This works fine with most FTP clients, and can also be used through Aptana (though only the Pro version supports FTPS and SFTP).  Aptana has some really nice FTP editing and synchronizing capabilities, but they are, at this time, a bit buggy.  I wanted to document some of the hurdles I went through to get them working so that I can remember for next time, and also possibly help out other people struggling with the same things.

The first big problem I ran into is that, for whatever reason, the SSL certificate I have set up on my server is not recognized automatically by Eclipse.  The error message in Eclipse is not helpful at all, but what it comes down to is that I have to install my certificate in the java key store that is being used by Eclipse.  There is a command line tool to install a certificate, but I recently came across an Eclipse plugin that makes this much easier.  It's called Keytool (http://keytool.sourceforge.net/).  If you like GUIs, you will appreciate it.  If you prefer command line tools, more power to you!  Here's the steps I took (I apologize if I gloss over some of the steps -- leave a comment if you need any more info about any of them):

  • Open a website that uses the SSL certificate in Firefox.
  • Export the certificate as "X.509 Certificate with chain (PEM)"
  • Use the Keytool plugin to import the certificate into your java keystore.  The default location of the java keystore is [JVM]/lib/security/cacerts.  The default password is "changeit".  On windows, you will need to run Eclipse as the Administrator in order to change the Java keystore.
  • Restart Eclipse/Aptana

So far so good.  Next, to set up the FTPS connection in Aptana. 

  • In the FTPS site properties, select the connection type of FTPS
  • In Advanced Properties, set the port to 990, select passive mode, and select the security type of TLS.

Those are the settings that worked for me, at least.  One strange thing I noticed is that if I open up the connection properties again and then click the Cancel button, the Advanced Properties settings are cleared out.  This is one of the Aptana bugs I am referring to.  I think Aptana is great, but is definitely a little polish lacking here and there.

Comments

Topics for this page:

January 2012 --

Charm City Run updates its site to include new Baltimore location. This site-wide project included refreshing header images with photos of customers and events, expanding the site navigation to include a new resources section, and enhancing ways for customers to interact through Charm City Run's many social media channels.

Charm City Run website

October 2011 -- Society for Developmental Biology launches SDB Collaborative Resources (CoRe), an online reference database of peer-reviewed images, movies, and diagrams for learning and teaching developmental biology.
September 2011 -- Millmark launches site for ConceptLinks Inquiry, a subscription-based online curriculum targeted at earth, life, and physical science concepts for grades 2-8.
September 2011 -- The 2012 International Builders’ Show website launches, unveiling the 2012 design and new tools for highlighting community sponsorships, special show events, and featured exhibitors. The site also includes expanded interactive features for attendees and exhibitors, including polls, logistics management tools, and social media.
August 2011 -- Modern Signal awarded contract to rebrand, redesign and develop new phase of PSLawnet.org, a comprehensive directory of legal public sectors jobs postings.