Skip to content

Standalone NAR with FTPS support (while waiting for support in base NIFI)

Notifications You must be signed in to change notification settings

cedardevs/nifi-ftps

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nifi-ftps

Standalone NAR with FTPS support (while waiting for support in base NIFI). Modified for use via CICS/NCEI:

  • latest nar version
  • host validation off (we authenticate not them)
  • self signed (we authenticate not them)

TODO:

  • variable for host validation
  • variable for self sign

Why this extension?

FTPS support has started some time ago, but was then moved to a different idea .

Since I cannot wait on it : I took the FTP part of the base NIFI and added FTPS support. Since verification is important, also added some host verification

Installation

Since the code only injects an FTPSClient iso an FTPClient, we use all the logic of the FTP classes. This means that there is a very large dependency on the standard processors NAR.

However, using the construct of adding a NAR dependency, this lead to IllegalAccessExceptions when loading the FTPS processors.

So I decided to inject the additional JAR into the standard processor NAR. This way, the JAR feels right at home :-)

Installation is therefore building the "patched" standard processor NAR and replacing the original one by this one.

Current state

Written with NIFI 1.9.2 (thanks for all the commented out solutions, kullervo16).

  • self signed allowed
  • host validation not required

(current version) Manually tested (ListFTPS, FetchFTPS) against external data provider ftps (last version) Tested with FileZilla and with test.rebex.net.

Note : it forces the FTPS "PROT P" option (encrypted transfer) over TLS (no more SSL) , but it does not support the "TLS session resumption" option

Note 2 : since I have no proxy to test with, the proxy options are disabled

About

Standalone NAR with FTPS support (while waiting for support in base NIFI)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 99.5%
  • Shell 0.5%