Getting Data In

createssl server-cert on windows server 2012 indexer (kv store failing over cert errors)

RDAVISS
Path Finder

I am trying to generate a new cert for my kv store to work properly (I am having this problem - https:// answers.splunk.com/answers/397029/kv-store-lookup-failing-with-error-about-kv-store.html)

But when I attempt to generate a new cert it just returns the output below. Is there a log or something I can change to figure out what I am doing wrong?

C:\Program Files\Splunk\bin>.\splunk createssl server-cert -l 1024 -d "C:\Program Files\Splunk\etc\auth\" -n server.pem -c {IP Address}
Parameters:
-d: Directory where rootCa and other certs are stored.
(required)
-n: The name of the cert.
(required)
-c: The CommonName for the cert. This should match the DNS name.
If DNS is not available then the IP will suffice.
-l: Length of the RSA key to generate (default 1024).
-p: Prompt for optional arguments.

Server 2012 running dev license splunk version 7.2.5

0 Karma

RDAVISS
Path Finder

@oangarita I did not resolve it directly, I ended up migrating it to a different host that had a fresh install
@pscsmoke Thanks for posting - maybe that will help someone else.

0 Karma

pscsmoke
Engager

on windows it's "-n server" not "-n server.pem"

0 Karma

oangarita
Explorer

Hi,

Did you find how generate the cert? I have the same issue on windows.

Thanks,

0 Karma
Get Updates on the Splunk Community!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...