The default apache NiFi docker image works well when you want to run NiFi with SSL as a standalone instance, but when you want to run it clustered with SSL enabled, you will run into difficulties. Moreover, most of the documentation highlights how to set up NiFi with SSL using the NiFi provided tls toolkit. If you already have your own SSL certificate infrastructure, using tls toolkit is not an easy option. Nonetheless, NiFi can run perfectly fine in clustered mode with SSL enabled provided you configure it correctly.

Generate CA