Splunk Enterprise

Self Signed Certificate error

timsheets13
Loves-to-Learn

I am following along the Splunk docs to self sign a cert for my Splunk UI.

Every thing is going fine until I get to the command 

/opt/splunk/bin/splunk cmd openssl x509 -req -in mySplunkWebCert.csr -CA myCACertificate.pem -CAkey myCAPrivateKey.key -CAcreateserial -out mySplunkWebCert.pem -days 1095

I am getting "mySplunkWebCert.csr: No such file or directory"

Unfortunately I'm not familiar enough with certs to trouble shoot this.

Any help appreciated.

Labels (1)
0 Karma

anilchaithu
Builder

@timsheets13 

Couple of questions

1. Have you created "mySplunkWebCert.csr" mentioned in the command?

2. From which directory, you are executing this openssl command? the certs will be stored in /opt/splunk/etc/auth

 

 

0 Karma

isoutamo
SplunkTrust
SplunkTrust

Hi

as @timsheets13 @said it’s best practices to use full or relative paths on those file names like ./dir/file.csr instead of file.csr

r. Ismo

 

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!

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Observability Simplified: Combining User Experience, Application Performance & ...

Tech Talk Observability Simplified: Combining User Experience, Application Performance & Network ...

Event Series May & June: From Network Visibility to Service Intelligence

Unifying the Network: Moving from Alert Noise to Service Intelligence with Splunk ITSI In today’s hybrid ...