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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...