Re: GetSFTP error

2017-11-15 Thread Koji Kawamura
Hello, I haven't tried it myself, but from the stacktrace and Jsch souce code, I think you should specify a file in pkcs8 format, instead of pkcs12. Jsch will leave keypair null if it fails to parse it, that may be the cause of the NullPointerException. For converting a pem file to a pkcs8,

GetSFTP error

2017-11-13 Thread Yatsevitch, Mcgregor J
Hi, I'm trying to get a GetSFTP processor to work. I've provided the private key path. The error in nifi-app.log says: Null.PointerException: null at com.jcraft.jsch.KeyPairPKCS8.getPublicKeyBlob(keyPairPKCS8.java:199) at com.jcraft.jsch.IdentityFile.getPublicKeyBlob(IdentityFile.java:199)