I am making a call from a node to a Splunk instance i.e. 8089 port which is running by default on https protocol and uses Splunk Default Certfiicate. So when I make changes to enableSplunkdSSL = false, I am able to access the the 8089 port from my application through http protocol, but when enable it to true with these configuration:
Its an certificate error.Self signed certificate error. So i allowed my webserver to make request to the self signed certificate https port, which by default is blocked as by the rules and regulation of CORS.
In node.js i added the following piece of code: process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0";