Using HTTP/HTTPS with basic authentication or SSL protection
You can use basic authentication or SSL-protected communication.
Using HTTP/HTTPS with basic authentication
You
can use basic authentication with HTTP and HTTPS. This is enabled
by setting a username:password
credential in the
probe's Nhttpd.BasicAuth property and using this
in the EventFactory node by checking the Use basic authentication checkbox,
and inserting the credentials. For details about enabling HTTP/S basic
authentication on the probe, see the following topic in the IBM Knowledge
Center:
Using SSL protection
To use SSL communication between the probe and the remote host on which Node-RED is running, the probe must be configured with SSL enabled. For details, see IBM Documentation:
To configure ObjectServer SSL-protected network, see the following topic in IBM Documentation:
When the SSL certificate is installed, update the URL field In the EventFactory node. Configure the URL to use HTTPS and the port that is configured in NHttpd.SSLListeningPort property; for example: https://localhost:443/probe/common
SELF_SIGNED_CERT_IN_CHAIN
error
on the console. To work around this, set the NODE_TLS_REJECT_UNAUTHORIZED environment
variable to 0, and restart Node-RED.$ export NODE_TLS_REJECT_UNAUTHORIZED=0
$ node red.js -v push2omnibus.json
For Windows, edit this environment variable in System Properties.