azure-functions-splunk icon indicating copy to clipboard operation
azure-functions-splunk copied to clipboard

How to bypass certificate check

Open mshensg opened this issue 2 years ago • 2 comments

need to bypass the HTTP Event Collect HTTPS certificate check as we are using self signed by it will rejected by axios. thanks.

mshensg avatar Mar 22 '22 08:03 mshensg

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

kclifford20 avatar Jun 06 '22 22:06 kclifford20

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.

mshensg avatar Jun 07 '22 07:06 mshensg