<?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: Invalid Key: serverCert in Installation</title>
    <link>https://community.splunk.com/t5/Installation/Invalid-Key-serverCert/m-p/359442#M8897</link>
    <description>&lt;P&gt;Thanks for the reply.&lt;BR /&gt;
I deleted the line and retyped it on a different line. Same error but now on a different line.  I'll checkout the app.&lt;/P&gt;</description>
    <pubDate>Wed, 03 May 2017 13:06:41 GMT</pubDate>
    <dc:creator>erictreesh</dc:creator>
    <dc:date>2017-05-03T13:06:41Z</dc:date>
    <item>
      <title>Invalid Key: serverCert</title>
      <link>https://community.splunk.com/t5/Installation/Invalid-Key-serverCert/m-p/359440#M8895</link>
      <description>&lt;P&gt;I'm following the instructions on:&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Security/SecureSplunkWebusingasignedcertificate"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Security/SecureSplunkWebusingasignedcertificate&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;After creating the web.conf file as shown when I restart splunk I get the message:&lt;BR /&gt;
Invalid key in stanza [settings] in /opt/splunk/etc/system/local/web.conf, line 4: serverCert (value: etc/auth/splunkweb/server.pem).&lt;/P&gt;</description>
      <pubDate>Tue, 02 May 2017 16:41:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Invalid-Key-serverCert/m-p/359440#M8895</guid>
      <dc:creator>erictreesh</dc:creator>
      <dc:date>2017-05-02T16:41:34Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid Key: serverCert</title>
      <link>https://community.splunk.com/t5/Installation/Invalid-Key-serverCert/m-p/359441#M8896</link>
      <description>&lt;P&gt;That's a valid key in web.conf under [settings]. I would check to be sure some strange characters didn't get copied in by deleting the entire like and typing it manually.&lt;/P&gt;

&lt;P&gt;There's also this app I developed to ease the process, would love any feedback about it:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://splunkbase.splunk.com/app/3231/"&gt;https://splunkbase.splunk.com/app/3231/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 May 2017 22:06:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Invalid-Key-serverCert/m-p/359441#M8896</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2017-05-02T22:06:41Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid Key: serverCert</title>
      <link>https://community.splunk.com/t5/Installation/Invalid-Key-serverCert/m-p/359442#M8897</link>
      <description>&lt;P&gt;Thanks for the reply.&lt;BR /&gt;
I deleted the line and retyped it on a different line. Same error but now on a different line.  I'll checkout the app.&lt;/P&gt;</description>
      <pubDate>Wed, 03 May 2017 13:06:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Invalid-Key-serverCert/m-p/359442#M8897</guid>
      <dc:creator>erictreesh</dc:creator>
      <dc:date>2017-05-03T13:06:41Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid Key: serverCert</title>
      <link>https://community.splunk.com/t5/Installation/Invalid-Key-serverCert/m-p/359443#M8898</link>
      <description>&lt;P&gt;I deleted the line and retyped it on another line.  Now I get the same error but with a different line number.  I would love to try your app but I can't access splunkweb.  I changed enableSplunkWebSSL to false and restated.  It says the web is available and I can get to the log on screen.  However when I enter my creds I get go to a page that says "500 Internal Server Error"&lt;/P&gt;</description>
      <pubDate>Wed, 03 May 2017 14:13:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Invalid-Key-serverCert/m-p/359443#M8898</guid>
      <dc:creator>erictreesh</dc:creator>
      <dc:date>2017-05-03T14:13:15Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid Key: serverCert</title>
      <link>https://community.splunk.com/t5/Installation/Invalid-Key-serverCert/m-p/359444#M8899</link>
      <description>&lt;P&gt;Can you just remove your local copy of web.conf &amp;amp; restart? &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;rm /opt/splunk/etc/system/local/web.conf
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;For example?&lt;/P&gt;

&lt;P&gt;It definitely sounds like you had extra characters in there.  When you deleted the line and typed manually, the characters moved to the line below.  My suggestion is to remove the web.conf you've created and then start new, manually typing in everything as opposed to a copy and paste from another machine.&lt;/P&gt;</description>
      <pubDate>Wed, 03 May 2017 15:25:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Invalid-Key-serverCert/m-p/359444#M8899</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2017-05-03T15:25:56Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid Key: serverCert</title>
      <link>https://community.splunk.com/t5/Installation/Invalid-Key-serverCert/m-p/359445#M8900</link>
      <description>&lt;P&gt;I discovered that serverCert is the new name for caCertPath.  caCertPath is used in the default web.conf and my introducing serverCert is probably causing splunk to be confused.&lt;BR /&gt;&lt;BR /&gt;
I put my new certificate in the location pointed to by caCertPath and now splunkweb will start and eventually present me with a login page.&lt;BR /&gt;&lt;BR /&gt;
But when I enter my creds,after a period of time I get a "500 Internal Server Error".&lt;/P&gt;</description>
      <pubDate>Wed, 03 May 2017 15:56:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Invalid-Key-serverCert/m-p/359445#M8900</guid>
      <dc:creator>erictreesh</dc:creator>
      <dc:date>2017-05-03T15:56:12Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid Key: serverCert</title>
      <link>https://community.splunk.com/t5/Installation/Invalid-Key-serverCert/m-p/359446#M8901</link>
      <description>&lt;P&gt;Did you try removing your local copy and restarting to see if the 500 error goes away?&lt;/P&gt;</description>
      <pubDate>Wed, 03 May 2017 18:54:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Invalid-Key-serverCert/m-p/359446#M8901</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2017-05-03T18:54:40Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid Key: serverCert</title>
      <link>https://community.splunk.com/t5/Installation/Invalid-Key-serverCert/m-p/359447#M8902</link>
      <description>&lt;P&gt;The local copy is gone and still getting the 500 error.  I did something to break it while I was trying to make the certificates work.&lt;/P&gt;</description>
      <pubDate>Wed, 03 May 2017 21:04:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Invalid-Key-serverCert/m-p/359447#M8902</guid>
      <dc:creator>erictreesh</dc:creator>
      <dc:date>2017-05-03T21:04:48Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid Key: serverCert</title>
      <link>https://community.splunk.com/t5/Installation/Invalid-Key-serverCert/m-p/359448#M8903</link>
      <description>&lt;P&gt;Sounds like it's time for a fresh install.  Is that an option?&lt;/P&gt;</description>
      <pubDate>Wed, 03 May 2017 21:27:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Invalid-Key-serverCert/m-p/359448#M8903</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2017-05-03T21:27:12Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid Key: serverCert</title>
      <link>https://community.splunk.com/t5/Installation/Invalid-Key-serverCert/m-p/359449#M8904</link>
      <description>&lt;P&gt;It can be fixed by adding the key to the spec file located in the README folder.&lt;/P&gt;

&lt;P&gt;For example, I did this warning for the serverclass.conf file.&lt;/P&gt;

&lt;P&gt;Invalid key in stanza [serverClass:hf_dev_indexer_apps] in /opt/splunk/etc/system/local/serverclass.conf, line 245: targetRepositoryLocation (value: $SPLUNK_HOME/etc/master-apps).&lt;/P&gt;

&lt;P&gt;Solution:&lt;/P&gt;

&lt;P&gt;This issue is fixed by adding the value to the spec file in the README folder /opt/splunk/etc/system/README/serverclass.conf.spec under the Second Level &lt;BR /&gt;
targetRepositoryLocation = path&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 23:38:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Invalid-Key-serverCert/m-p/359449#M8904</guid>
      <dc:creator>vgollapudi</dc:creator>
      <dc:date>2020-09-29T23:38:15Z</dc:date>
    </item>
  </channel>
</rss>

