connectorAllowUnsafe
Description
This property allows a non-IBM i instance of Profound.js to connect to an IBM i-based Connector instance that is not using a trusted certificate. Set it to Boolean true to skip the certificate trust check.
Disabling the certificate check removes protection against man-in-the-middle attacks on the Connector connection. Prefer installing a trusted certificate on the IBM i instance where that is possible.
Example
Use this only when connectorURL is an HTTPS URL whose certificate is not externally trusted – for example a self-signed certificate on an internal IBM i:
// Only do this if your connectorURL uses HTTPS but that certificate is not externally trusted.
connectorAllowUnsafe: trueSee also Connecting to a Remote Instance and profoundjs.express().
For information on how to modify this setting, see Configuration File.