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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...