<?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 Setting up third-party wildcard certs with Splunk in Security</title>
    <link>https://community.splunk.com/t5/Security/Setting-up-third-party-wildcard-certs-with-Splunk/m-p/38429#M1287</link>
    <description>&lt;P&gt;My understanding on the knowledge base article located here...&lt;/P&gt;

&lt;P&gt;&lt;A href="http://www.splunk.com/base/Documentation/latest/Admin/SecureaccesstoyourSplunkserverwithSSL" target="_blank"&gt;http://www.splunk.com/base/Documentation/latest/Admin/SecureaccesstoyourSplunkserverwithSSL&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;...is that I can take an existing .pem file I have using my third-party wildcard cert and then do this...&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;&lt;BR /&gt;
mkdir /opt/splunk/share/splunk/certs&lt;BR /&gt;
cp /etc/tmp/certs/_.thirdpartywildcard_cert.com /opt/splunk/share/splunk/certs/privkey.pem &lt;BR /&gt;
cp /etc/pki/tls/cert.pem  /opt/splunk/share/splunk/certs/cert.pem&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;vi /opt/splunk/etc/system/local/web.conf&lt;/P&gt;

&lt;P&gt;diff /opt/splunk/etc/system/local/web.conf /opt/splunk/etc/system/local/web.conf.20110701&lt;BR /&gt;
3,4d2&lt;BR /&gt;
&amp;lt; privKeyPath = /certs/privkey.pem&lt;BR /&gt;
&amp;lt; caCertPath = /certs/cert.pem&lt;BR /&gt;
[root@aaa ~]#&lt;/P&gt;

&lt;P&gt;2011-07-05 11:54:42,244 INFO    [4e1341d1f6b6453d0] root:243 - Enabling SSL&lt;BR /&gt;
2011-07-05 11:54:42,244 ERROR   [4e1341d1f6b6453d0] root:493 - Unable to start splunkweb&lt;BR /&gt;
2011-07-05 11:54:42,244 ERROR   [4e1341d1f6b6453d0] root:494 - /certs/privkey.pem Not Found&lt;BR /&gt;
Traceback (most recent call last):&lt;BR /&gt;
  File "/opt/splunk/lib/python2.6/site-packages/splunk/appserver/mrsparkle/root.py", line 489, in &lt;MODULE&gt;&lt;BR /&gt;
    run(blocking=True)&lt;BR /&gt;
  File "/opt/splunk/lib/python2.6/site-packages/splunk/appserver/mrsparkle/root.py", line 258, in run&lt;BR /&gt;
    raise ValueError("%s Not Found" % global_cfg['server.ssl_private_key'])&lt;BR /&gt;
ValueError: /certs/privkey.pem Not Found&lt;BR /&gt;
&lt;/MODULE&gt;&lt;/P&gt;

&lt;P&gt;A simple question is where is "/", since I had to create &lt;BR /&gt;
/opt/splunk/share/splunk/certs&lt;/P&gt;

&lt;P&gt;I think the kb article may be incorrect about where to put the pem file.&lt;/P&gt;

&lt;P&gt;What I really want to do is put a link to the place where I normally install the .pem&lt;/P&gt;

&lt;P&gt;Any done this yet and got it to work?&lt;/P&gt;

&lt;P&gt;Also, where does SPLUNK web chroot to?&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 09:43:04 GMT</pubDate>
    <dc:creator>maverick</dc:creator>
    <dc:date>2020-09-28T09:43:04Z</dc:date>
    <item>
      <title>Setting up third-party wildcard certs with Splunk</title>
      <link>https://community.splunk.com/t5/Security/Setting-up-third-party-wildcard-certs-with-Splunk/m-p/38429#M1287</link>
      <description>&lt;P&gt;My understanding on the knowledge base article located here...&lt;/P&gt;

&lt;P&gt;&lt;A href="http://www.splunk.com/base/Documentation/latest/Admin/SecureaccesstoyourSplunkserverwithSSL" target="_blank"&gt;http://www.splunk.com/base/Documentation/latest/Admin/SecureaccesstoyourSplunkserverwithSSL&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;...is that I can take an existing .pem file I have using my third-party wildcard cert and then do this...&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;&lt;BR /&gt;
mkdir /opt/splunk/share/splunk/certs&lt;BR /&gt;
cp /etc/tmp/certs/_.thirdpartywildcard_cert.com /opt/splunk/share/splunk/certs/privkey.pem &lt;BR /&gt;
cp /etc/pki/tls/cert.pem  /opt/splunk/share/splunk/certs/cert.pem&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;vi /opt/splunk/etc/system/local/web.conf&lt;/P&gt;

&lt;P&gt;diff /opt/splunk/etc/system/local/web.conf /opt/splunk/etc/system/local/web.conf.20110701&lt;BR /&gt;
3,4d2&lt;BR /&gt;
&amp;lt; privKeyPath = /certs/privkey.pem&lt;BR /&gt;
&amp;lt; caCertPath = /certs/cert.pem&lt;BR /&gt;
[root@aaa ~]#&lt;/P&gt;

&lt;P&gt;2011-07-05 11:54:42,244 INFO    [4e1341d1f6b6453d0] root:243 - Enabling SSL&lt;BR /&gt;
2011-07-05 11:54:42,244 ERROR   [4e1341d1f6b6453d0] root:493 - Unable to start splunkweb&lt;BR /&gt;
2011-07-05 11:54:42,244 ERROR   [4e1341d1f6b6453d0] root:494 - /certs/privkey.pem Not Found&lt;BR /&gt;
Traceback (most recent call last):&lt;BR /&gt;
  File "/opt/splunk/lib/python2.6/site-packages/splunk/appserver/mrsparkle/root.py", line 489, in &lt;MODULE&gt;&lt;BR /&gt;
    run(blocking=True)&lt;BR /&gt;
  File "/opt/splunk/lib/python2.6/site-packages/splunk/appserver/mrsparkle/root.py", line 258, in run&lt;BR /&gt;
    raise ValueError("%s Not Found" % global_cfg['server.ssl_private_key'])&lt;BR /&gt;
ValueError: /certs/privkey.pem Not Found&lt;BR /&gt;
&lt;/MODULE&gt;&lt;/P&gt;

&lt;P&gt;A simple question is where is "/", since I had to create &lt;BR /&gt;
/opt/splunk/share/splunk/certs&lt;/P&gt;

&lt;P&gt;I think the kb article may be incorrect about where to put the pem file.&lt;/P&gt;

&lt;P&gt;What I really want to do is put a link to the place where I normally install the .pem&lt;/P&gt;

&lt;P&gt;Any done this yet and got it to work?&lt;/P&gt;

&lt;P&gt;Also, where does SPLUNK web chroot to?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 09:43:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Setting-up-third-party-wildcard-certs-with-Splunk/m-p/38429#M1287</guid>
      <dc:creator>maverick</dc:creator>
      <dc:date>2020-09-28T09:43:04Z</dc:date>
    </item>
    <item>
      <title>Re: Setting up third-party wildcard certs with Splunk</title>
      <link>https://community.splunk.com/t5/Security/Setting-up-third-party-wildcard-certs-with-Splunk/m-p/38430#M1288</link>
      <description>&lt;P&gt;Hi maverick&lt;/P&gt;

&lt;P&gt;just had to setup SSL last friday so I remember that the paths for "privKeyPath" and "caCertPath" are relative to $SPLUNK_HOME/share/splunk. Strange is that you had to create the certs directory, mine was existing in 4.1.8.&lt;/P&gt;

&lt;P&gt;btw here is a great &lt;A href="http://www.splunk.com/wiki/Community:SplunkWeb_SSL_3rdPartyCA"&gt;wiki about this topic&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;no info about the chroot, sorry.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2011 13:33:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Setting-up-third-party-wildcard-certs-with-Splunk/m-p/38430#M1288</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2011-07-06T13:33:55Z</dc:date>
    </item>
  </channel>
</rss>

