Github user pepov commented on the issue:
https://github.com/apache/nifi/pull/2935
I've tested it manually and ran the unit tests as well. I wanted to ask
whether we could make the error message more user friendly but then found
myself trying to find out whether we can make life easier by making the
conversion automatically. I would find this useful, because for me it wasn't
trivial at all to find out the problem with the PKCS#8 unencrypted key file, it
just looks very much the same as the PKCS#1 format (except the RSA word of
course).
If you agree to add this, here is my attempt to do the conversion:
https://github.com/pepov/nifi/commit/77256af2bb3178f19b71ab82d398cd7288f7bb55
Otherwise LGTM
---