<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Why does Splunk KVStore does not start with mongod error &amp;quot;please specify an sslCAFile parameter&amp;quot; after SSL'ing all servers? &amp;quot; in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Why-does-Splunk-KVStore-does-not-start-with-mongod-error-quot/m-p/283246#M54170</link>
    <description>&lt;P&gt;Btw your ca path may need to be changed to the default. Just uncomment that parameter&lt;/P&gt;</description>
    <pubDate>Wed, 21 Oct 2015 05:27:21 GMT</pubDate>
    <dc:creator>mikaelbje</dc:creator>
    <dc:date>2015-10-21T05:27:21Z</dc:date>
    <item>
      <title>Why does Splunk KVStore does not start with mongod error "please specify an sslCAFile parameter" after SSL'ing all servers? "</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-does-Splunk-KVStore-does-not-start-with-mongod-error-quot/m-p/283240#M54164</link>
      <description>&lt;H1&gt;Windows 2008 R2 servers.&lt;/H1&gt;

&lt;P&gt;I have SSL/TLS enabled all comms between search head, deployment server, indexers and universal forwarders.&lt;BR /&gt;&lt;BR /&gt;
server.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[sslConfig]
caCertFile = chain.pem
caPath = $SPLUNK_HOME\etc\auth\DOD
requireClientCert = false
sslKeysfile = password.pem
sslKeysfilePassword = **********

[kvstore]
caCertpath = $SPLUNK_HOME\etc\auth\DOD
sslKeysPassword = *********
sslKeysPath = $SPLUNK_HOME\etc\auth\DOD\private.pem
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;===============================================================================================&lt;BR /&gt;
When I start Splunk servers I am getting errors in the mongod.log:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;W CONTROL No SSL certificate validation can be performed since no CA file has been provided;  please specify an sslCAFile parameter
E NETWORK cannot read certificate file: d:/splunk/etc/auth/DOD/private.pem error:0906D06C:PEM routines:PEM_read_bio:no start line
F CONTROL Failed global initialization: Location16778 ssl initialization problem
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;===============================================================================================&lt;BR /&gt;
sslCAFile appears to be a mongod command line variable.&lt;/P&gt;

&lt;P&gt;Is Splunk suppose to start and pass the sslCAFile variable somewhere???&lt;/P&gt;

&lt;P&gt;Robert&lt;/P&gt;</description>
      <pubDate>Mon, 19 Oct 2015 15:50:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-does-Splunk-KVStore-does-not-start-with-mongod-error-quot/m-p/283240#M54164</guid>
      <dc:creator>rgsurfs</dc:creator>
      <dc:date>2015-10-19T15:50:03Z</dc:date>
    </item>
    <item>
      <title>Re: Why does Splunk KVStore does not start with mongod error "please specify an sslCAFile parameter" after SSL'ing all servers? "</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-does-Splunk-KVStore-does-not-start-with-mongod-error-quot/m-p/283241#M54165</link>
      <description>&lt;P&gt;It looks like you need to add the actual file to the value specified in caCertpath in the [kvstore] stanza (e.g.,  caCertpath = $SPLUNK_HOME\etc\auth\DOD\chain.pem).&lt;/P&gt;

&lt;P&gt;From the &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Admin/Serverconf"&gt;server.conf spec&lt;/A&gt;:&lt;BR /&gt;
caCertPath = &lt;BR /&gt;
* Public key of the signing authority.&lt;BR /&gt;
* If specified, it will be used in KV Store SSL connections and&lt;BR /&gt;
  authentication.&lt;BR /&gt;
* Must be specified if FIPS is enabled (i.e. SPLUNK_FIPS=1), otherwise, KV&lt;BR /&gt;
  Store will not be available.&lt;BR /&gt;
* Only used when FIPS is enable&lt;/P&gt;

&lt;P&gt;You could use btool to see what is actually being applied and what file it is reading it from: &lt;BR /&gt;
$SPLUNK_HOME\bin\splunk btool server list --debug &lt;/P&gt;</description>
      <pubDate>Mon, 19 Oct 2015 17:21:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-does-Splunk-KVStore-does-not-start-with-mongod-error-quot/m-p/283241#M54165</guid>
      <dc:creator>mtranchita</dc:creator>
      <dc:date>2015-10-19T17:21:24Z</dc:date>
    </item>
    <item>
      <title>Re: Why does Splunk KVStore does not start with mongod error "please specify an sslCAFile parameter" after SSL'ing all servers? "</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-does-Splunk-KVStore-does-not-start-with-mongod-error-quot/m-p/283242#M54166</link>
      <description>&lt;P&gt;I typo'd this in my original post:    E NETWORK cannot read certificate file: d:/splunk/etc/auth/DOD/private.pem error:0906D06C:PEM routines:PEM_read_bio:no start line   &amp;lt;--- shud be password.pem, not private.pem&lt;/P&gt;

&lt;P&gt;I made these two new files root1 and root2 and changed the server.conf file:&lt;BR /&gt;
caCertPath = $SPLUNK_HOME\etc\auth\DOD\root1.pem&lt;BR /&gt;
sslKeysPassword = *********&lt;BR /&gt;
sslKeysPath = $SPLUNK_HOME\etc\auth\DOD\root2.pem&lt;/P&gt;

&lt;P&gt;root1.pem contains the public key for the root authority&lt;BR /&gt;
root2.pem contains my password protected private key&lt;/P&gt;

&lt;P&gt;Restarted splunk services.  Still no good.    mongod.log has same error.  It's like the [kvstore] configs are not even being recognized:&lt;/P&gt;

&lt;P&gt;W CONTROL No SSL certificate validation can be performed since no CA file has been provided;  please specify an sslCAFile parameter&lt;BR /&gt;
 E NETWORK cannot read certificate file: d:/splunk/etc/auth/DOD/password.pem error:0906D06C:PEM routines:PEM_read_bio:no start line&lt;BR /&gt;
 F CONTROL Failed global initialization: Location16778 ssl initialization problem&lt;/P&gt;

&lt;P&gt;What's this about FIPS ????   If we did not enable SPLUNK_FIPS = 1 in our initial server build, will all of this stuff not work????????&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 07:35:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-does-Splunk-KVStore-does-not-start-with-mongod-error-quot/m-p/283242#M54166</guid>
      <dc:creator>rgsurfs</dc:creator>
      <dc:date>2020-09-29T07:35:40Z</dc:date>
    </item>
    <item>
      <title>Re: Why does Splunk KVStore does not start with mongod error "please specify an sslCAFile parameter" after SSL'ing all servers? "</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-does-Splunk-KVStore-does-not-start-with-mongod-error-quot/m-p/283243#M54167</link>
      <description>&lt;P&gt;On our servers the Old Splunk certs expired Oct 1 2015. We just upgraded to 6.3 and new certs were not generated. Recreating all certs with ./splunk createssl fixed it. &lt;/P&gt;</description>
      <pubDate>Tue, 20 Oct 2015 14:34:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-does-Splunk-KVStore-does-not-start-with-mongod-error-quot/m-p/283243#M54167</guid>
      <dc:creator>mikaelbje</dc:creator>
      <dc:date>2015-10-20T14:34:09Z</dc:date>
    </item>
    <item>
      <title>Re: Why does Splunk KVStore does not start with mongod error "please specify an sslCAFile parameter" after SSL'ing all servers? "</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-does-Splunk-KVStore-does-not-start-with-mongod-error-quot/m-p/283244#M54168</link>
      <description>&lt;P&gt;command line:   I did:&lt;BR /&gt;
    splunk stop&lt;BR /&gt;
    splunk createssl server-cert -d d:\splunk\etc\auth  -n server&lt;BR /&gt;
                   server.pem was created&lt;/P&gt;

&lt;P&gt;my \splunk\etc\system\local\server.conf      [sslconfig] and [kvstore] look like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[sslConfig]
caCertFile = chain.pem
caPath = $SPLUNK_HOME\etc\auth\DOD
requireClientCert = false
sslKeysfile = password.pem
sslKeysfilePassword = $1$**********

[kvstore]
caCertpath = $SPLUNK_HOME\etc\auth\cacert.pem
sslKeysPath = $SPLUNK_HOME\etc\auth\server.pem
sslKeysPassword = password
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I did  splunk start.   there are no errors.&lt;/P&gt;

&lt;P&gt;the sslKeysPassword stanza under kvstore, is now equal to  $1$**********    (matches the sslconfig hash)&lt;/P&gt;

&lt;P&gt;mongod.log still giving same errors:&lt;/P&gt;

&lt;P&gt;W CONTROL No SSL certificate validation can be performed since no CA file has been provided;  please specify an sslCAFile parameter&lt;BR /&gt;
E NETWORK cannot read certificate file: d:/splunk/etc/auth/DOD/password.pem error:0906D06C:PEM routines:PEM_read_bio:no start line&lt;BR /&gt;
F CONTROL Failed global initialization: Location16778 ssl initialization problem&lt;/P&gt;

&lt;P&gt;mongod/kvstore still keeps looking at the sslconfig area.....&lt;/P&gt;

&lt;P&gt;Robert&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 07:38:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-does-Splunk-KVStore-does-not-start-with-mongod-error-quot/m-p/283244#M54168</guid>
      <dc:creator>rgsurfs</dc:creator>
      <dc:date>2020-09-29T07:38:22Z</dc:date>
    </item>
    <item>
      <title>Re: Why does Splunk KVStore does not start with mongod error "please specify an sslCAFile parameter" after SSL'ing all servers? "</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-does-Splunk-KVStore-does-not-start-with-mongod-error-quot/m-p/283245#M54169</link>
      <description>&lt;P&gt;You don't need the caCertpath and sslKeysPath for the kvstore stanza. Also make sure you recreate the web certs as I'm not sure which ones apply here. As for names of the certs I just went for "server" for the server certs to replace the defaults.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2015 04:46:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-does-Splunk-KVStore-does-not-start-with-mongod-error-quot/m-p/283245#M54169</guid>
      <dc:creator>mikaelbje</dc:creator>
      <dc:date>2015-10-21T04:46:56Z</dc:date>
    </item>
    <item>
      <title>Re: Why does Splunk KVStore does not start with mongod error "please specify an sslCAFile parameter" after SSL'ing all servers? "</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-does-Splunk-KVStore-does-not-start-with-mongod-error-quot/m-p/283246#M54170</link>
      <description>&lt;P&gt;Btw your ca path may need to be changed to the default. Just uncomment that parameter&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2015 05:27:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-does-Splunk-KVStore-does-not-start-with-mongod-error-quot/m-p/283246#M54170</guid>
      <dc:creator>mikaelbje</dc:creator>
      <dc:date>2015-10-21T05:27:21Z</dc:date>
    </item>
    <item>
      <title>Re: Why does Splunk KVStore does not start with mongod error "please specify an sslCAFile parameter" after SSL'ing all servers? "</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-does-Splunk-KVStore-does-not-start-with-mongod-error-quot/m-p/283247#M54171</link>
      <description>&lt;P&gt;Still nothing.  I am leaning towards the FIPS mode not being enabled when the server was built.    &lt;/P&gt;

&lt;P&gt;No matter what key I create or try to set in the [kvstore] area, I get the same errors about not being able to read the key that is set in the [sslconfig] for sslKeysfile.    why does mongod/kvstore keep trying to read that password.pem key????&lt;/P&gt;

&lt;P&gt;W CONTROL No SSL certificate validation can be performed since no CA file has been provided; please specify an sslCAFile parameter&lt;BR /&gt;
E NETWORK cannot read certificate file: d:/splunk/etc/auth/DOD/password.pem error:0906D06C:PEM routines:PEM_read_bio:no start line&lt;BR /&gt;
F CONTROL Failed global initialization: Location16778 ssl initialization problem &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 07:38:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-does-Splunk-KVStore-does-not-start-with-mongod-error-quot/m-p/283247#M54171</guid>
      <dc:creator>rgsurfs</dc:creator>
      <dc:date>2020-09-29T07:38:45Z</dc:date>
    </item>
    <item>
      <title>Re: Why does Splunk KVStore does not start with mongod error "please specify an sslCAFile parameter" after SSL'ing all servers? "</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-does-Splunk-KVStore-does-not-start-with-mongod-error-quot/m-p/283248#M54172</link>
      <description>&lt;P&gt;I deleted these lines and restarted and mongod starts without errors&lt;/P&gt;

&lt;P&gt;[sslConfig]&lt;BR /&gt;
 caCertFile = chain.pem                  &amp;lt;--------------------------------deleted&lt;BR /&gt;
 caPath = $SPLUNK_HOME\etc\auth\DOD &amp;lt;--------------------------------deleted&lt;BR /&gt;
 requireClientCert = false &amp;lt;--------------------------------deleted&lt;BR /&gt;
 sslKeysfile = password.pem &amp;lt;--------------------------------deleted&lt;BR /&gt;
 sslKeysfilePassword = $1$**********&lt;/P&gt;

&lt;P&gt;[kvstore]   &amp;lt;--------------------------------deleted&lt;BR /&gt;
 caCertpath = $SPLUNK_HOME\etc\auth\cacert.pem &amp;lt;--------------------------------deleted &lt;BR /&gt;
sslKeysPath = $SPLUNK_HOME\etc\auth\server.pem &amp;lt;--------------------------------deleted&lt;BR /&gt;
 sslKeysPassword = password   &amp;lt;--------------------------------deleted&lt;/P&gt;

&lt;P&gt;There's something wrong with my certs.... .I'll look into them more.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 07:41:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-does-Splunk-KVStore-does-not-start-with-mongod-error-quot/m-p/283248#M54172</guid>
      <dc:creator>rgsurfs</dc:creator>
      <dc:date>2020-09-29T07:41:50Z</dc:date>
    </item>
    <item>
      <title>Re: Why does Splunk KVStore does not start with mongod error "please specify an sslCAFile parameter" after SSL'ing all servers? "</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-does-Splunk-KVStore-does-not-start-with-mongod-error-quot/m-p/283249#M54173</link>
      <description>&lt;P&gt;what was the resolution here?&lt;/P&gt;</description>
      <pubDate>Sat, 29 Sep 2018 19:37:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-does-Splunk-KVStore-does-not-start-with-mongod-error-quot/m-p/283249#M54173</guid>
      <dc:creator>ridwanahmed</dc:creator>
      <dc:date>2018-09-29T19:37:01Z</dc:date>
    </item>
  </channel>
</rss>

