<?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 Install SSL certificate on Splunk Index cluster master web in Security</title>
    <link>https://community.splunk.com/t5/Security/Install-SSL-certificate-on-Splunk-Index-cluster-master-web/m-p/483495#M11134</link>
    <description>&lt;P&gt;I need to install SSL certificate on splunk Index cluster master web. I created the csr and key on the server and got the certificate from the CA. the certificate provided is in .CRT format. I then got the .PEM format using the below. &lt;/P&gt;

&lt;P&gt;cat server_name.csr server_name.key ca_provided_certificate.com.crt &amp;gt; certificate.com.pem&lt;/P&gt;

&lt;P&gt;Have updated the web.config file in the local with the below settings . &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[settings]
enableSplunkWebSSL = true
serverCert = /application/splunk/etc/auth/splunkweb/certificate.com.pem     
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;After saving, when i try restarting the splunk . It stucks starting the web with the below error&lt;/P&gt;

&lt;P&gt;Waiting for web server at &lt;A href="https://10.0.1.1:8000" target="_blank"&gt;https://10.0.1.1:8000&lt;/A&gt; to be available...&lt;/P&gt;

&lt;P&gt;can someone please help &lt;/P&gt;</description>
    <pubDate>Wed, 30 Sep 2020 04:25:15 GMT</pubDate>
    <dc:creator>Nilesh3110</dc:creator>
    <dc:date>2020-09-30T04:25:15Z</dc:date>
    <item>
      <title>Install SSL certificate on Splunk Index cluster master web</title>
      <link>https://community.splunk.com/t5/Security/Install-SSL-certificate-on-Splunk-Index-cluster-master-web/m-p/483495#M11134</link>
      <description>&lt;P&gt;I need to install SSL certificate on splunk Index cluster master web. I created the csr and key on the server and got the certificate from the CA. the certificate provided is in .CRT format. I then got the .PEM format using the below. &lt;/P&gt;

&lt;P&gt;cat server_name.csr server_name.key ca_provided_certificate.com.crt &amp;gt; certificate.com.pem&lt;/P&gt;

&lt;P&gt;Have updated the web.config file in the local with the below settings . &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[settings]
enableSplunkWebSSL = true
serverCert = /application/splunk/etc/auth/splunkweb/certificate.com.pem     
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;After saving, when i try restarting the splunk . It stucks starting the web with the below error&lt;/P&gt;

&lt;P&gt;Waiting for web server at &lt;A href="https://10.0.1.1:8000" target="_blank"&gt;https://10.0.1.1:8000&lt;/A&gt; to be available...&lt;/P&gt;

&lt;P&gt;can someone please help &lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 04:25:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Install-SSL-certificate-on-Splunk-Index-cluster-master-web/m-p/483495#M11134</guid>
      <dc:creator>Nilesh3110</dc:creator>
      <dc:date>2020-09-30T04:25:15Z</dc:date>
    </item>
    <item>
      <title>Re: Install SSL certificate on Splunk Index cluster master web</title>
      <link>https://community.splunk.com/t5/Security/Install-SSL-certificate-on-Splunk-Index-cluster-master-web/m-p/483496#M11135</link>
      <description>&lt;P&gt;Is the provate key encrypted with a password?&lt;/P&gt;

&lt;P&gt;Commonly you would set all three of these parameters:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;privKeyPath = &amp;lt;path&amp;gt;
* The path to the file containing the web server SSL certificate private key.
* A relative path is interpreted relative to $SPLUNK_HOME and may not refer
  outside of $SPLUNK_HOME (e.g., no ../somewhere).
* You can also specify an absolute path to an external key.
* See also 'enableSplunkWebSSL' and 'serverCert'.
* No default.

serverCert = &amp;lt;path&amp;gt;
* Full path to the Privacy Enhanced Mail (PEM) format Splunk web server certificate file.
* The file may also contain root and intermediate certificates, if required.
  They should be listed sequentially in the order:
    [ Server SSL certificate ]
    [ One or more intermediate certificates, if required ]
    [ Root certificate, if required ]
* See also 'enableSplunkWebSSL' and 'privKeyPath'.
* Default: $SPLUNK_HOME/etc/auth/splunkweb/cert.pem

sslPassword = &amp;lt;password&amp;gt;
* Password that protects the private key specified by 'privKeyPath'.
* If encrypted private key is used, do not enable client-authentication
  on splunkd server. In [sslConfig] stanza of server.conf,
  'requireClientCert' must be 'false'.
* Optional.
* Default: The unencrypted private key.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;servercert should contain the certificate issued for your server, followed by any intermediates. You should leave the private key in a seperate file. It should also NOT contain the csr. &lt;BR /&gt;
You may need to convert the crt file to pem, in which case use this command:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;openssl x509 -in ca_provided_certificate.com.cr -out certificate.pem&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;This means your config should look similar to the following&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[settings]
enableSplunkWebSSL = true
serverCert = /application/splunk/etc/auth/splunkweb/certificate.pem     
privKeyPath =/application/splunk/etc/auth/splunkweb/server_name.key
sslPassword = your PrivateKey  password
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 27 Feb 2020 09:30:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Install-SSL-certificate-on-Splunk-Index-cluster-master-web/m-p/483496#M11135</guid>
      <dc:creator>nickhills</dc:creator>
      <dc:date>2020-02-27T09:30:00Z</dc:date>
    </item>
    <item>
      <title>Re: Install SSL certificate on Splunk Index cluster master web</title>
      <link>https://community.splunk.com/t5/Security/Install-SSL-certificate-on-Splunk-Index-cluster-master-web/m-p/483497#M11136</link>
      <description>&lt;P&gt;No Private key password was not provided. &lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;&lt;P&gt;After using this command &lt;BR /&gt;
openssl x509 -in ca_provided_certificate.com.cr -out certificate.pem&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;Mentioned the below setting in&amp;gt;&amp;gt;/application/splunk/etc/system/local/web.conf&lt;BR /&gt;
[settings]&lt;BR /&gt;
enableSplunkWebSSL = true&lt;BR /&gt;
serverCert = /application/splunk/etc/auth/splunkweb/certificate.pem &lt;BR /&gt;&lt;BR /&gt;
privKeyPath =/application/splunk/etc/auth/splunkweb/server_name.key&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;Then, I restarted the Splunk Service.&lt;/P&gt;&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;The issue was fixed. &lt;/P&gt;

&lt;P&gt;Thank you for your help nickhillscpl&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 04:25:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Install-SSL-certificate-on-Splunk-Index-cluster-master-web/m-p/483497#M11136</guid>
      <dc:creator>swaroopbr</dc:creator>
      <dc:date>2020-09-30T04:25:42Z</dc:date>
    </item>
    <item>
      <title>Re: Install SSL certificate on Splunk Index cluster master web</title>
      <link>https://community.splunk.com/t5/Security/Install-SSL-certificate-on-Splunk-Index-cluster-master-web/m-p/483498#M11137</link>
      <description>&lt;P&gt;Thats great news, I have converted my comment to an answer, Please accept it and ^ upvote it if you found it useful so that others in the community can see that it helepd.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2020 21:20:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Install-SSL-certificate-on-Splunk-Index-cluster-master-web/m-p/483498#M11137</guid>
      <dc:creator>nickhills</dc:creator>
      <dc:date>2020-02-27T21:20:21Z</dc:date>
    </item>
  </channel>
</rss>

