Security

SSL certificate generation failed.

aviramradai
Explorer

Hi,

I am trying to start splunk for the first time and I get "SSL certificate generation failed." error.
I did the following:
1. downloaded splunkforwarder-5.0.2-149561-Linux-x86_64.tgz
2. run tar -xvf on the file
3. ran ./bin/splunk start
4. got the error

I am running on linux server (ubuntu)

Linux XXXXXXX 2.6.18-308.13.1.el5 #1 SMP Tue Aug 21 17:10:18 EDT 2012 x86_64 Six-Core AMD Opteron(tm) Processor 8439 SE AuthenticAMD GNU/Linux

Thanks,
Aviram

Tags (1)

rayke
Path Finder

It's ok for me but I had a lot of mistakes. Maybe someone is looking for an answer so I will describe them.
In first I had that message : "Permission denied". That's really easy, you only have to give right 755 (chmod 755 file) for 3 files which are btool, splunk and splunkd.
After that, I had a big problem with libraries and a message looking like this "Error with libpcre.so.0 : File too short". I resolved this by deleting this file and replacing it by libpcre.so.0.1 (you have to rename libpcre.so.0.1 in libpcre.so.0). That problem occured for about 7 or 8 libraries.
Finally, I had an other problem. I couldn't add any conf because "splunkd is not started. You have to start it before..." whereas it was. To resolve it, you have to had these 2 lines in SPLUNK_HOME/etc/system/local/server.conf :

[httpServer]
disableDefaultPort = true

Now it's working and you can add the configuration.
To finish, I had to kill splunk's process (kill -9 PID) and restart it everytime I wanted to had another configuration line, I don't know why.

0 Karma

aviramradai
Explorer

I just used the 32 bit version instead of the 64.
I am using linux.

This worked for me.

0 Karma

rayke
Path Finder

Same issue....

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!

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...

Step into “Hunt the Insider: An Splunk ES Premier Mystery” to catch a cybercriminal ...

After a whole week of being on call, you fell asleep on your keyboard, and you hit a sequence of buttons that ...

SplunkTrust Application Period is Officially OPEN!

It's that time, folks! The application/nomination period for the 2026-2027 SplunkTrust is officially open. If ...