azure-functions-splunk
azure-functions-splunk copied to clipboard
How to bypass certificate check
need to bypass the HTTP Event Collect HTTPS certificate check as we are using self signed by it will rejected by axios. thanks.
Not sure if you've fixed your issue yet, however try the below URL for your HEC URL (Not the dash not dot between http-inputs and customertenant to fix the SSL certificate issue) https://http-inputs-customertenant.splunkcloud.com/services/collector/event
I think that one is secured by a wildcard cert instead of self-sign cert (on-prem Splunk BYOL). The source code simply call axios without setting an https agent with rejectUnauthorized = false. So maybe the developer team needs to add such feature so the data can be sent to a non-Splunk cloud environment.