Security

How to issue splunk web cert using createssl

SarahSplunk123
Explorer

Hi there,

I'm trying to use the native CA on my splunk server but reissue my splunk web cert for it to use a 2048 bits length key.
I tried using the command

$SPLUNK_HOME/splunk/createssl web-cert -n myCN -l 2048

But can't seem to find the issued cert (though the key path is indicated $SPLUNK_HOME/etc/auth)

Any hint?

Tags (3)

SarahSplunk123
Explorer

Actually the cert was in $SPLUNK_HOME/etc/auth/splunkweb/ and the private key is also there, not where the command indicates.
The path is in the default web.conf/server.conf (if you use it for splunkd, match the serverName directive) so the previous certs are erased, and one can verify the certificate with

$SPLUNK_HOME/splunk cmd openssl x509 -in yourcert.pem -noout -text

Better back up your /$SPLUNK_HOME/etc/auth directory beforehand.

Get Updates on the Splunk Community!

Technical Workshop Series: Splunk Data Management and SPL2 | Register here!

Hey, Splunk Community! Ready to take your data management skills to the next level? Join us for a 3-part ...

Spotting Financial Fraud in the Haystack: A Guide to Behavioral Analytics with Splunk

In today's digital financial ecosystem, security teams face an unprecedented challenge. The sheer volume of ...

Solve Problems Faster with New, Smarter AI and Integrations in Splunk Observability

Solve Problems Faster with New, Smarter AI and Integrations in Splunk Observability As businesses scale ...