<?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: SSL certificate in Splunk web in Security</title>
    <link>https://community.splunk.com/t5/Security/SSL-certificate-in-Splunk-web/m-p/539129#M12081</link>
    <description>&lt;P&gt;Silly question, but did you restart Splunk after making the changes?&lt;/P&gt;</description>
    <pubDate>Tue, 09 Feb 2021 14:00:00 GMT</pubDate>
    <dc:creator>jacobpevans</dc:creator>
    <dc:date>2021-02-09T14:00:00Z</dc:date>
    <item>
      <title>SSL certificate in Splunk web</title>
      <link>https://community.splunk.com/t5/Security/SSL-certificate-in-Splunk-web/m-p/538974#M12080</link>
      <description>&lt;P&gt;Hi Splunkers,&lt;/P&gt;&lt;P&gt;I have clustered environment. One of indexer got SSL expired. I have created csr and pem file. Bu submitting that csr I got new SSL certificate from my organization.&lt;/P&gt;&lt;P&gt;Now I logged in to that indexer , i downloaded the new SSL certificate to the same folder where my pem key is there.&amp;nbsp;&lt;/P&gt;&lt;P&gt;went to , etc/system/local and updated the web.conf file as below.&amp;nbsp;&lt;/P&gt;&lt;P&gt;[settings]&lt;/P&gt;&lt;P&gt;startwebserver = 1&lt;/P&gt;&lt;P&gt;caCertPath = etc/auth/cert/sra-index-01-cert.pem&lt;BR /&gt;privKeyPath = etc/auth/cert/sra-index-01-PassKey.pem&lt;/P&gt;&lt;P&gt;sendStrictTransportSecurityHeader = true&lt;BR /&gt;enableSplunkWebSSL = true&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;allowSslRenegotiation = false&lt;BR /&gt;allowSslCompression = false&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;now , I need to verify SSL is properly applied to Splunk server or not. When I logged in web UI, I am not able to see valid certificate date , it is still showing previous expired certificate date.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to verify it or Am I missing anything?&lt;/P&gt;</description>
      <pubDate>Mon, 08 Feb 2021 11:31:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/SSL-certificate-in-Splunk-web/m-p/538974#M12080</guid>
      <dc:creator>Dharani</dc:creator>
      <dc:date>2021-02-08T11:31:03Z</dc:date>
    </item>
    <item>
      <title>Re: SSL certificate in Splunk web</title>
      <link>https://community.splunk.com/t5/Security/SSL-certificate-in-Splunk-web/m-p/539129#M12081</link>
      <description>&lt;P&gt;Silly question, but did you restart Splunk after making the changes?&lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2021 14:00:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/SSL-certificate-in-Splunk-web/m-p/539129#M12081</guid>
      <dc:creator>jacobpevans</dc:creator>
      <dc:date>2021-02-09T14:00:00Z</dc:date>
    </item>
    <item>
      <title>Re: SSL certificate in Splunk web</title>
      <link>https://community.splunk.com/t5/Security/SSL-certificate-in-Splunk-web/m-p/539143#M12082</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi Jacob,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am not expecting this stupid answer.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Cheers !&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2021 11:17:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/SSL-certificate-in-Splunk-web/m-p/539143#M12082</guid>
      <dc:creator>Dharani</dc:creator>
      <dc:date>2021-02-09T11:17:25Z</dc:date>
    </item>
    <item>
      <title>Re: SSL certificate in Splunk web</title>
      <link>https://community.splunk.com/t5/Security/SSL-certificate-in-Splunk-web/m-p/541600#M12114</link>
      <description>&lt;P&gt;web.conf if for Splunk Web. In order to use this, your private key must be decrypted. Which means, you are able to verify the certificate using ssl and it doesn't prompt you for a password.&lt;/P&gt;&lt;P&gt;But I doubt you need to access your indexer in Splunk Web. When I changed our certificates system-wide these were my notes for Indexers:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;---To prevent server from trying to reach Splunk Base for updates--&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Etc&lt;/SPAN&gt;&lt;SPAN&gt;/system/local/&lt;/SPAN&gt;&lt;SPAN&gt;&lt;STRONG&gt;server.conf&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;SPAN&gt;applicationsManagement&lt;/SPAN&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;allowInternetAccess&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;= false&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;---without this, mongod will fail to start.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[kvstore]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;serverCert = $SPLUNK_HOME/etc/auth/&amp;lt;servername&amp;gt;/&amp;lt;servername&amp;gt;.pem&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;sslPassword = &amp;lt;&lt;/SPAN&gt;&lt;SPAN&gt;passw&lt;/SPAN&gt;&lt;SPAN&gt;ord_of_serverCert&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&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t;P&gt;&lt;SPAN&gt;[SSL]&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;serverCert&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;=&amp;nbsp;$SPLUNK_HOME/&lt;/SPAN&gt;&lt;SPAN&gt;etc&lt;/SPAN&gt;&lt;SPAN&gt;/auth/receiver/receiver_cert.pem&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;sslPassword = &amp;lt;&lt;/SPAN&gt;&lt;SPAN&gt;passw&lt;/SPAN&gt;&lt;SPAN&gt;ord&lt;/SPAN&gt;&lt;SPAN&gt; &amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;sslVersions = -all, tls1.2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now, if you must access Splunk Web into the indexer:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Etc&lt;/SPAN&gt;&lt;SPAN&gt;/system/local/&lt;/SPAN&gt;&lt;SPAN&gt;&lt;STRONG&gt;web.conf&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;EM&gt;Note: Splunk Web will not work with encrypted private key. Ensure you are using&amp;nbsp; decrypted private key&amp;nbsp;&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;EM&gt;and certificate for this configuration.&amp;nbsp;&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;EM&gt;&amp;nbsp;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;[settings]&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;privKeyPath&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;= $SPLUNK_HOME/&lt;/SPAN&gt;&lt;SPAN&gt;etc&lt;/SPAN&gt;&lt;SPAN&gt;/auth/&amp;lt;&lt;/SPAN&gt;&lt;SPAN&gt;servername&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;/&amp;lt;&lt;/SPAN&gt;&lt;SPAN&gt;webServerCert&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;_&lt;/SPAN&gt;&lt;SPAN&gt;webServerCert_priv.key&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;serverCert&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;= $SPLUNK_HOME/&lt;/SPAN&gt;&lt;SPAN&gt;etc&lt;/SPAN&gt;&lt;SPAN&gt;/auth/&amp;lt;&lt;/SPAN&gt;&lt;SPAN&gt;servername&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;/&amp;lt;&lt;/SPAN&gt;&lt;SPAN&gt; webServerCert&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;_webServerCert&lt;/SPAN&gt;&lt;SPAN&gt;_cert.pem&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To export private key decrypted for us in Splunk Web web.conf, you can use the following:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN&gt;Export private key, you will need the pass phrase:&lt;/SPAN&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;openssl&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;rsa&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;-in server_priv.key -out web_server_priv.key&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;you can copy this contents and replace the key on your original servercert.pem and save it as whatever name you like: web_servercert.pem&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Test your certificate to ensure you are not prompted for passphrase:&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;openssl rsa -in web_servercert.pem –text (Remember, you will only use this for web.conf, if you try to use this in server.conf - mongod will not start due to no passphrase)&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2021 23:36:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/SSL-certificate-in-Splunk-web/m-p/541600#M12114</guid>
      <dc:creator>splunkyj</dc:creator>
      <dc:date>2021-02-26T23:36:57Z</dc:date>
    </item>
  </channel>
</rss>

