Security

How to enable SSL for splunk cloud with own self signed certificates?

priyadarshan123
New Member

I am using Splunk Cloud and I want to use curl without insecure connection for sending data via HEC , What is the process for that and what to do?

Labels (1)
0 Karma

poornimasai
Observer

Hi @PavelP,

I am facing certificate issue, while integrating SAP CPI with Slunk free trail account through HEC, How can i get own self signed certificate??

0 Karma

SNATAR4
New Member

I have the same problem with certificates in my CPI setup/

Were you able to fix this ?

 

//Senthil

0 Karma

PavelP
Motivator

Hello @priyadarshan123

use --cacert to point curl to the ca cert file

curl --cacert cert.pem https://cloud.address xxxxxx
0 Karma

priyadarshan123
New Member

Hi PavelP, How to get the cacert for splunk cloud?

0 Karma

PavelP
Motivator

@priyadarshan123

  • where you run curl command (windows, linux, interactive or within a script?)?
  • do you get an insecure error message?
  • where are the "own self signed certificates"? - on the splunk side or on the client side?
0 Karma

priyadarshan123
New Member

Hi @PavelP, I run curl within a go program, I do not do client-side verification of the
certificates, but if I want to do then what are the steps to retrieve the certificates?

0 Karma

PavelP
Motivator

@priyadarshan123

if you want to verify the certificate of your splunk cloud instance with curl then follow these advices from the author of curl: https://daniel.haxx.se/blog/2018/11/07/get-the-ca-cert-for-curl/

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Persistent Queue at TcpOut — One of Splunk's Most Practical Features

Splunk introduced persistent queueing at the tcpout layer as one of the most practical resilience features in ...

Skip the Awkward Silence: Have a .conf-ersation at .conf26

Picture this. You arrive at .conf26 already having your socializing and networking plans mapped out. No ...

Rethinking Zero Trust: From Product Purchases to Logical Control Evidence

Implementing Zero Trust (ZT) across complex environments often falters at the very beginning due to a ...