Per default, Apache Nifi always needs HTTPS (SSL).
But for development and testing on localhost, I think it would be good to run it on HTTL (no SSL).
But it needs to be configures, otherwise you will be confronted with some kind of errors:
- Caused by: java.lang.RuntimeException: Remote input HTTPS is enabled but nifi.web.https.port is not specified
- Browser: SSL ERR_CONNECTION_REFUSED
Config nifi.properties the following way:
#######################################
nifi.remote.input.host=
nifi.remote.input.secure=false
nifi.remote.input.socket.port=
nifi.remote.input.http.enabled=true
nifi.remote.input.http.transaction.ttl=30 sec
nifi.remote.contents.cache.expiration=30 secs
#############################################
nifi.web.http.host=127.0.0.1
nifi.web.http.port=8081
nifi.web.http.network.interface.default=
#######################################
nifi.security.needClientAuth=false
nifi.web.https.host=
nifi.web.https.port=
nifi.web.https.network.interface.default=
Now that NiFi has been started, we can bring up the User Interface (UI). To get started, open a web browser and navigate to https://localhost:8081/nifi
. The port can be changed by editing the nifi.properties
file in the NiFi conf
directory