Security

cacert.pem - Why does Splunk need it to start?

ebdavis
New Member

Quick details: We are running Splunk 6.4.2 on Windows 2k8 as a standalone deployment. We are using third part certs with the root and intermediary certs in the cert chain. I have specified web.conf to use that particular certificate and the generated server key.

Issue: Our IAVM scanner and STIG scans report the self-signing CA and [out of the box] Splunk self-signed certs as a finding. As a troubleshooting step, I archived them and removed them from the Splunk directory and restarted Splunk. Now it will not start as it is complaining that it is unable to locate "cacert.pem" and is unable to generate the SSL certificates. I'm a bit confused as we have installed this on another host and removed the certs in the same fashion with no issue.

0 Karma

splunkreal
Motivator

Hello, what about ca.pem, what is its role? Thanks.

* If this helps, please upvote or accept solution 🙂 *
0 Karma

hardikJsheth
Motivator

The cacert.pem is used by Splunk's management port. In case you don't want to use it, you need to update the certificate used by management port.

To do this you need to perform two steps:
1) Create one .pem file with both private key and public key of your certificate. Copy this file into $SPLUNK_HOME/etc/auth/. (This is required because Splunk provides only single parameter for defining certificate for management port.

2) Use this certificate for your management port by adding following configuration in $SPLUNK_HOME/etc/system/local/server.conf

[sslConfig]
sslKeysfile = splunkweb/mysplunk.pem
sslKeysfilePassword = 
Get Updates on the Splunk Community!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...