<?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 is server Certificate Hostname Validation is disabled? in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/Why-is-server-certificate-hostname-validation-disabled/m-p/605320#M13290</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;Have you tried the suggestion in the message?&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[sslConfig]
cliVerifyServerName = true&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;P&gt;yes I have, it did not get rid of the WARNING, I also read further in the Splunk documentation to edit the web.config file with the same lines so I did, still no dice, I am tempted to open a Splunk Support case&lt;/P&gt;&lt;P&gt;is TLS working for you?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 12 Jul 2022 17:48:45 GMT</pubDate>
    <dc:creator>Gregski11</dc:creator>
    <dc:date>2022-07-12T17:48:45Z</dc:date>
    <item>
      <title>Why is server certificate hostname validation disabled?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Why-is-server-certificate-hostname-validation-disabled/m-p/605175#M13269</link>
      <description>&lt;P&gt;I am trying to enable&amp;nbsp;Server Certificate Hostname Validation in the server.conf file and I literally cut and pasted the command&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;sslVerifyServerName = true # turns on TLS certificate host name validation&lt;/PRE&gt;&lt;P&gt;from the Splunk documentation and when I restart Splunk on this on prem deployment server it says :&lt;BR /&gt;&lt;BR /&gt;WARNING: Server Certificate Hostname Validation is disabled. Please see server.conf/[sslConfig]/cliVerifyServerName for details.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;now I get the CLI command is&amp;nbsp;cliVerifyServerName instead of sslVerifyServerName, but I even tried having both lines there and it still does not like it&lt;/P&gt;&lt;P&gt;I have issued an Enterprise web certificate to this server, it is still valid for two years, so I am at a total loss here please help&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jul 2022 15:53:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Why-is-server-certificate-hostname-validation-disabled/m-p/605175#M13269</guid>
      <dc:creator>Gregski11</dc:creator>
      <dc:date>2022-07-13T15:53:33Z</dc:date>
    </item>
    <item>
      <title>Re: Why is server Certificate Hostname Validation is disabled?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Why-is-server-certificate-hostname-validation-disabled/m-p/605185#M13271</link>
      <description>&lt;P&gt;Try moving the comment in server.conf (Splunk doesn't support trailing comments).&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;# turns on TLS certificate host name validation
sslVerifyServerName = true &lt;/LI-CODE&gt;&lt;P&gt;If it works, then submit feedback on the documentation page on which you found the setting.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jul 2022 17:14:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Why-is-server-certificate-hostname-validation-disabled/m-p/605185#M13271</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-07-11T17:14:17Z</dc:date>
    </item>
    <item>
      <title>Re: Why is server Certificate Hostname Validation is disabled?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Why-is-server-certificate-hostname-validation-disabled/m-p/605203#M13274</link>
      <description>&lt;P&gt;oh wow, that sucks, wish they didn't do that in their examples&lt;BR /&gt;&lt;BR /&gt;so here's all I have in my SSL Config stanza now and it still borx&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[sslConfig]&lt;BR /&gt;sslVerifyServerCert = true&lt;BR /&gt;sslVerifyServerName = true&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;WARNING:&lt;/STRONG&gt; Server Certificate Hostname Validation is disabled. Please see server.conf/[sslConfig]/cliVerifyServerName for details.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jul 2022 21:38:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Why-is-server-certificate-hostname-validation-disabled/m-p/605203#M13274</guid>
      <dc:creator>Gregski11</dc:creator>
      <dc:date>2022-07-11T21:38:05Z</dc:date>
    </item>
    <item>
      <title>Re: Why is server Certificate Hostname Validation is disabled?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Why-is-server-certificate-hostname-validation-disabled/m-p/605217#M13277</link>
      <description>&lt;P&gt;Have you tried the suggestion in the message?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[sslConfig]
cliVerifyServerName = true&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 12 Jul 2022 00:00:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Why-is-server-certificate-hostname-validation-disabled/m-p/605217#M13277</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-07-12T00:00:39Z</dc:date>
    </item>
    <item>
      <title>Re: Why is server Certificate Hostname Validation is disabled?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Why-is-server-certificate-hostname-validation-disabled/m-p/605320#M13290</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;Have you tried the suggestion in the message?&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[sslConfig]
cliVerifyServerName = true&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;P&gt;yes I have, it did not get rid of the WARNING, I also read further in the Splunk documentation to edit the web.config file with the same lines so I did, still no dice, I am tempted to open a Splunk Support case&lt;/P&gt;&lt;P&gt;is TLS working for you?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2022 17:48:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Why-is-server-certificate-hostname-validation-disabled/m-p/605320#M13290</guid>
      <dc:creator>Gregski11</dc:creator>
      <dc:date>2022-07-12T17:48:45Z</dc:date>
    </item>
    <item>
      <title>Re: Why is server Certificate Hostname Validation is disabled?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Why-is-server-certificate-hostname-validation-disabled/m-p/605324#M13291</link>
      <description>&lt;P&gt;I haven't gotten it to work, but haven't tried real hard, either.&lt;/P&gt;&lt;P&gt;Please let us know what Support says.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2022 18:14:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Why-is-server-certificate-hostname-validation-disabled/m-p/605324#M13291</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-07-12T18:14:00Z</dc:date>
    </item>
    <item>
      <title>Re: Why is server Certificate Hostname Validation is disabled?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Why-is-server-certificate-hostname-validation-disabled/m-p/605331#M13292</link>
      <description>&lt;P&gt;so just noticed a major change in SSL certificate request process starting with version 9.0.0 looks like Splunk has gotten rid of the:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;"&lt;SPAN&gt;Remove the password from the private key. You must do this because Splunk Web does not support private key passwords."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;step, so does this mean Splunk Web now supports private key passwords? very interesting&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2022 18:54:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Why-is-server-certificate-hostname-validation-disabled/m-p/605331#M13292</guid>
      <dc:creator>Gregski11</dc:creator>
      <dc:date>2022-07-12T18:54:16Z</dc:date>
    </item>
    <item>
      <title>Re: Why is server certificate hostname validation is disabled?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Why-is-server-certificate-hostname-validation-disabled/m-p/605405#M13305</link>
      <description>&lt;P&gt;I added the cliVerifyServerName = true stanza to [sslConfig] and the result is:&lt;/P&gt;&lt;P&gt;ERROR: certificate validation: self signed certificate in certificate chain - endless flood and the server won't start at all.&amp;nbsp; I using a wildcard SSL certificate issued by a CA, so there is no way to have self-signed chains - or it's checking with the default certificate maybe.&lt;/P&gt;&lt;P&gt;Conclusion: I will wait for the fix from Splunk's side (as for the federated.conf issue or the Python upgrade readiness app issue)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jul 2022 08:08:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Why-is-server-certificate-hostname-validation-disabled/m-p/605405#M13305</guid>
      <dc:creator>norbertt911</dc:creator>
      <dc:date>2022-07-13T08:08:10Z</dc:date>
    </item>
    <item>
      <title>Re: Why is server certificate hostname validation is disabled?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Why-is-server-certificate-hostname-validation-disabled/m-p/605464#M13313</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/223775"&gt;@norbertt911&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;I added the cliVerifyServerName = true stanza to [sslConfig] and the result is:&lt;/P&gt;&lt;P&gt;ERROR: certificate validation: self signed certificate in certificate chain - endless flood and the server won't start at all.&amp;nbsp; I using a wildcard SSL certificate issued by a CA, so there is no way to have self-signed chains - or it's checking with the default certificate maybe.&lt;/P&gt;&lt;P&gt;Conclusion: I will wait for the fix from Splunk's side (as for the federated.conf issue or the Python upgrade readiness app issue)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;thank you so much for doing that, I get the same thing, I am going to open a support case with Splunk for this one&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jul 2022 15:52:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Why-is-server-certificate-hostname-validation-disabled/m-p/605464#M13313</guid>
      <dc:creator>Gregski11</dc:creator>
      <dc:date>2022-07-13T15:52:27Z</dc:date>
    </item>
    <item>
      <title>Re: Why is server certificate hostname validation disabled?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Why-is-server-certificate-hostname-validation-disabled/m-p/605504#M13314</link>
      <description>&lt;P&gt;alright this is really odd when I simply point the server.conf file at the location of our existing SSL certificate (which we obtained from our very own Microsoft Certificate Authority)&amp;nbsp; with these two simple lines:&lt;/P&gt;&lt;P&gt;[sslConfig]&lt;BR /&gt;serverCert = mycerts\mySplunkWebCertificate.pem&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Instead of using that certificate Splunk tries to generate a self signed one??? with an error like the one below that we caught while having entered an invalid path to our cert by mistake&lt;/P&gt;&lt;P&gt;"The certificate generation script did not generate the expected certificate"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;when the path is correct it creates an empty PFX file in that directory called&amp;nbsp;mySplunkWebCertificate.pem.pfx&amp;nbsp;&lt;/P&gt;&lt;P&gt;what is it trying to do?&amp;nbsp; why is it creating a file, it should just simply use our existing cert&lt;/P&gt;&lt;P&gt;has anybody gotten this to work?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jul 2022 20:35:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Why-is-server-certificate-hostname-validation-disabled/m-p/605504#M13314</guid>
      <dc:creator>Gregski11</dc:creator>
      <dc:date>2022-07-13T20:35:01Z</dc:date>
    </item>
    <item>
      <title>Re: Why is server certificate hostname validation disabled?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Why-is-server-certificate-hostname-validation-disabled/m-p/606403#M13390</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/232137"&gt;@Gregski11&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I've been (painfully) working through some of the 'new SSL' processes myself. Unfortunately the documentation is as helpful as I was hoping and in some cases is actually functionally incorrect.&amp;nbsp; However I have gotten what I believe to be the correct web.conf config done, server.conf is proving to have a few extra gremlins current.&lt;/P&gt;&lt;P&gt;What I suspect is happening here is that you're providing the server PEM you got from the CA but what Splunk's looking really wanting here is a&amp;nbsp; 'combined' cert:&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.0.0/Security/HowtoprepareyoursignedcertificatesforSplunk" target="_blank" rel="noopener"&gt;https://docs.splunk.com/Documentation/Splunk/9.0.0/Security/HowtoprepareyoursignedcertificatesforSplunk&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've had to add a little bit more than what the docs call out, probably because I created the CA cert and the server cert on the Splunk instance but here's my web.conf file looks like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[settings]
enableSplunkWebSSL = true
sslPassword = $7$7mytLzGbDj/xZXYnAuZCXks/FYVEAi7AqKXHOqezXPBM1qwfsHRPM8Fe
privKeyPath = /opt/splunk/etc/auth/mycerts/myServerPrivateKey.key
serverCert = /opt/splunk/etc/auth/mycerts/myServerCert.pem
sslRootCAPath = /opt/splunk/etc/auth/mycerts/myCertAuthCertificate.pem&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;tools.sessions.timeout = 8640&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;Hope it helps!&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2022 22:44:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Why-is-server-certificate-hostname-validation-disabled/m-p/606403#M13390</guid>
      <dc:creator>tsullivan06</dc:creator>
      <dc:date>2022-07-20T22:44:13Z</dc:date>
    </item>
    <item>
      <title>Re: Why is server Certificate Hostname Validation is disabled?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Why-is-server-certificate-hostname-validation-disabled/m-p/620641#M14497</link>
      <description>&lt;P&gt;These following steps worked for me to enable Splunk Web with custom certificates. If you are using third party certificates then make sure server key file is password less. You can verify it with following command (&lt;EM&gt;change key file name with your file name&lt;/EM&gt;)&lt;/P&gt;&lt;PRE&gt;$SPLUNK_HOME/bin/splunk cmd openssl rsa -in mySplunkWebPrivateKey.key -text&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Follow following steps to create and use your own certificates:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;cd /opt/splunk/etc/auth&lt;BR /&gt;mkdir mycerts&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Change to mycerts directory to create custom certificates :&lt;/STRONG&gt; cd mycerts&lt;/P&gt;&lt;P&gt;/opt/splunk/bin/splunk cmd openssl genrsa -aes256 -out myCertAuthPrivateKey.key 2048&lt;/P&gt;&lt;P&gt;/opt/splunk/bin/splunk cmd openssl req -new -key myCertAuthPrivateKey.key -out myCertAuthCertificate.csr&lt;/P&gt;&lt;P&gt;/opt/splunk/bin/splunk cmd openssl x509 -req -in myCertAuthCertificate.csr -sha512 -signkey myCertAuthPrivateKey.key -CAcreateserial -out myCertAuthCertificate.pem -days 1095&lt;/P&gt;&lt;P&gt;/opt/splunk/bin/splunk cmd openssl genrsa -aes256 -out myServerPrivateKey.key 2048&lt;/P&gt;&lt;P&gt;/opt/splunk/bin/splunk cmd openssl req -new -key myServerPrivateKey.key -out myServerCertificate.csr&lt;/P&gt;&lt;P&gt;/opt/splunk/bin/splunk cmd openssl x509 -req -in myServerCertificate.csr -SHA256 -CA myCertAuthCertificate.pem -CAkey myCertAuthPrivateKey.key -CAcreateserial -out myServerCertificate.pem -days 1095&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Remove password from key file using following command as splunk version 9.0 doesn't support key file with passowrd&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;/opt/splunk/bin/splunk cmd openssl rsa -in myServerPrivateKey.key -out myServerPrivateKey.key&lt;/P&gt;&lt;P&gt;cat myServerCertificate.pem myServerPrivateKey.key myCertAuthCertificate.pem &amp;gt; mySplunkWebCertificate.pem&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;vi /opt/splunk/etc/system/local/web.conf&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;[settings]&lt;BR /&gt;enableSplunkWebSSL = true&lt;BR /&gt;privKeyPath = /opt/splunk/etc/auth/mycerts/myServerPrivateKey.key&lt;BR /&gt;serverCert = /opt/splunk/etc/auth/mycerts/mySplunkWebCertificate.pem&lt;/P&gt;</description>
      <pubDate>Fri, 11 Nov 2022 23:06:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Why-is-server-certificate-hostname-validation-disabled/m-p/620641#M14497</guid>
      <dc:creator>bansodesant</dc:creator>
      <dc:date>2022-11-11T23:06:50Z</dc:date>
    </item>
    <item>
      <title>Re: Why is server certificate hostname validation disabled?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Why-is-server-certificate-hostname-validation-disabled/m-p/620642#M14498</link>
      <description>&lt;P&gt;These following steps worked for me to enable Splunk Web with custom certificates. If you are using third party certificates then make sure server key file is password less. You can verify it with following command (&lt;EM&gt;change key file name with your file name&lt;/EM&gt;)&lt;/P&gt;&lt;PRE&gt;$SPLUNK_HOME/bin/splunk cmd openssl rsa -in mySplunkWebPrivateKey.key -text&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Follow following steps to create and use your own certificates:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;cd /opt/splunk/etc/auth&lt;BR /&gt;mkdir mycerts&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Change to mycerts directory to create custom certificates :&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;cd mycerts&lt;/P&gt;&lt;P&gt;/opt/splunk/bin/splunk cmd openssl genrsa -aes256 -out myCertAuthPrivateKey.key 2048&lt;/P&gt;&lt;P&gt;/opt/splunk/bin/splunk cmd openssl req -new -key myCertAuthPrivateKey.key -out myCertAuthCertificate.csr&lt;/P&gt;&lt;P&gt;/opt/splunk/bin/splunk cmd openssl x509 -req -in myCertAuthCertificate.csr -sha512 -signkey myCertAuthPrivateKey.key -CAcreateserial -out myCertAuthCertificate.pem -days 1095&lt;/P&gt;&lt;P&gt;/opt/splunk/bin/splunk cmd openssl genrsa -aes256 -out myServerPrivateKey.key 2048&lt;/P&gt;&lt;P&gt;/opt/splunk/bin/splunk cmd openssl req -new -key myServerPrivateKey.key -out myServerCertificate.csr&lt;/P&gt;&lt;P&gt;/opt/splunk/bin/splunk cmd openssl x509 -req -in myServerCertificate.csr -SHA256 -CA myCertAuthCertificate.pem -CAkey myCertAuthPrivateKey.key -CAcreateserial -out myServerCertificate.pem -days 1095&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Remove password from key file using following command as splunk version 9.0 doesn't support key file with passowrd&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;/opt/splunk/bin/splunk cmd openssl rsa -in myServerPrivateKey.key -out myServerPrivateKey.key&lt;/P&gt;&lt;P&gt;cat myServerCertificate.pem myServerPrivateKey.key myCertAuthCertificate.pem &amp;gt; mySplunkWebCertificate.pem&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;vi /opt/splunk/etc/system/local/web.conf&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;[settings]&lt;BR /&gt;enableSplunkWebSSL = true&lt;BR /&gt;privKeyPath = /opt/splunk/etc/auth/mycerts/myServerPrivateKey.key&lt;BR /&gt;serverCert = /opt/splunk/etc/auth/mycerts/mySplunkWebCertificate.pem&lt;/P&gt;</description>
      <pubDate>Fri, 11 Nov 2022 23:08:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Why-is-server-certificate-hostname-validation-disabled/m-p/620642#M14498</guid>
      <dc:creator>bansodesant</dc:creator>
      <dc:date>2022-11-11T23:08:41Z</dc:date>
    </item>
    <item>
      <title>Re: Why is server certificate hostname validation disabled?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Why-is-server-certificate-hostname-validation-disabled/m-p/620656#M14499</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Your process is correct, but the topic is not about this.&amp;nbsp; You just describe how to use a custom/third-party SSL certificate for the web GUI, but&amp;nbsp;&lt;SPAN&gt;cliVerifyServerName is different from that.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 12 Nov 2022 14:13:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Why-is-server-certificate-hostname-validation-disabled/m-p/620656#M14499</guid>
      <dc:creator>norbertt911</dc:creator>
      <dc:date>2022-11-12T14:13:07Z</dc:date>
    </item>
    <item>
      <title>Re: Why is server Certificate Hostname Validation is disabled?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Why-is-server-certificate-hostname-validation-disabled/m-p/621506#M14567</link>
      <description>&lt;P&gt;reference document&lt;/P&gt;&lt;P&gt;splunk version : 9.0.2&lt;/P&gt;&lt;P&gt;# turns on TLS certificate host name validation&lt;BR /&gt;cliVerifyServerName = true&lt;BR /&gt;# Reference the file that contains all root certificate authority certificates combined together&lt;BR /&gt;sslRootCAPath = /splunk/opt/splunk/etc/auth/test/new.pem&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2022 05:07:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Why-is-server-certificate-hostname-validation-disabled/m-p/621506#M14567</guid>
      <dc:creator>chingtawang</dc:creator>
      <dc:date>2022-11-21T05:07:10Z</dc:date>
    </item>
    <item>
      <title>Re: Why is server certificate hostname validation disabled?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Why-is-server-certificate-hostname-validation-disabled/m-p/622947#M14671</link>
      <description>&lt;P&gt;For me, applying the suggested fix of:&lt;BR /&gt;/opt/splunk/bin/splunk cmd openssl rsa -in myServerPrivateKey.key -out myServerPrivateKey.key&lt;BR /&gt;&lt;BR /&gt;to remove password out of the private.key.key,&lt;BR /&gt;&lt;BR /&gt;Got rid of the startup error message of:&lt;BR /&gt;WARNING: Server Certificate Hostname Validation is disabled. Please see server.conf/[sslConfig]/cliVerifyServerName for details.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Dec 2022 06:11:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Why-is-server-certificate-hostname-validation-disabled/m-p/622947#M14671</guid>
      <dc:creator>westy74</dc:creator>
      <dc:date>2022-12-02T06:11:49Z</dc:date>
    </item>
    <item>
      <title>Re: Why is server Certificate Hostname Validation is disabled?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Why-is-server-certificate-hostname-validation-disabled/m-p/640150#M16071</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;SPAN&gt;I have an issue after upgrading the Splunk Enterprise version to the latest version (&lt;SPAN class=""&gt;&lt;SPAN&gt;9.0.4.1&lt;SPAN&gt;), once I upgraded the Splunk I got a warning alert below:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;SPAN&gt;WARNING: Server Certificate Hostname Validation is disabled. Please see server.conf/[sslConfig]/cliVerifyServerName for details&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;SPAN&gt;Then I configured the cliVerifyServerName as suggested.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;SPAN&gt;[sslConfig] cliVerifyServerName=true &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;SPAN&gt;sslRootCAPath=/opt/splunk/etc/auth/splunkweb/ourcertificate.crt&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;SPAN&gt;But after I restarted the splunkd and try to run splunk show shcluster-status then I got an error below.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;SPAN&gt;ERROR: certificate validation: self signed certificate in certificate chain Encountered some errors while trying to obtain shcluster status. Couldn't complete HTTP request: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;SPAN&gt;What do I need to solve the issue?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 17 Apr 2023 05:57:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Why-is-server-certificate-hostname-validation-disabled/m-p/640150#M16071</guid>
      <dc:creator>adnanhakiim</dc:creator>
      <dc:date>2023-04-17T05:57:40Z</dc:date>
    </item>
    <item>
      <title>Re: Why is server Certificate Hostname Validation is disabled?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Why-is-server-certificate-hostname-validation-disabled/m-p/640165#M16075</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;As far as I understand the root problem of this issue that Splunk cannot determinate that your SSL certificate issuer is trustable or not.&lt;/P&gt;&lt;P&gt;I play&lt;/P&gt;&lt;P&gt;ed a lot with this - I using CA trusted wildcard certificate. And end up this configuration in server.conf:&lt;/P&gt;&lt;P&gt;sslVerifyServerCert = true&lt;BR /&gt;cliVerifyServerName = true&lt;BR /&gt;serverCert = $SPLUNK_HOME/etc/auth/mycert/cert-with-key.pem (-&amp;gt; servercert+middle-chain cert+root cert+ private key)&lt;BR /&gt;sslRootCAPath = /etc/ssl/certs/ca-bundle.crt&lt;/P&gt;&lt;P&gt;sslRootCAPath is the path of your OS trusted CA bundle. You may need to add Your issuer to this list manually. (the root cert only). Depending by OS, but same process:&lt;BR /&gt;&lt;A href="https://ubuntu.com/server/docs/security-trust-store" target="_blank"&gt;https://ubuntu.com/server/docs/security-trust-store&amp;nbsp;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Now I have no such warning, and seems everything working fine. (May could work if you pointing the your root cert only with&amp;nbsp;sslRootCAPath, but that not tested )&lt;/P&gt;&lt;P&gt;KR.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Apr 2023 07:55:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Why-is-server-certificate-hostname-validation-disabled/m-p/640165#M16075</guid>
      <dc:creator>norbertt911</dc:creator>
      <dc:date>2023-04-17T07:55:11Z</dc:date>
    </item>
    <item>
      <title>Re: Why is server certificate hostname validation disabled?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Why-is-server-certificate-hostname-validation-disabled/m-p/641046#M16161</link>
      <description>&lt;P&gt;Can you set following and re-test?&lt;/P&gt;&lt;PRE&gt;useSslClientSessionCache=true&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Although it's not related to certification validation, but it appears `sslVerifyServerName` is not working (defect) but likely to work with above config.&lt;/P&gt;</description>
      <pubDate>Sun, 23 Apr 2023 00:07:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Why-is-server-certificate-hostname-validation-disabled/m-p/641046#M16161</guid>
      <dc:creator>hrawat</dc:creator>
      <dc:date>2023-04-23T00:07:56Z</dc:date>
    </item>
    <item>
      <title>Re: Why is server Certificate Hostname Validation is disabled?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Why-is-server-certificate-hostname-validation-disabled/m-p/650395#M16821</link>
      <description>&lt;P&gt;Did Splunk have any recommendations? I'm having the same issue.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2023 14:55:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Why-is-server-certificate-hostname-validation-disabled/m-p/650395#M16821</guid>
      <dc:creator>computermathguy</dc:creator>
      <dc:date>2023-07-13T14:55:45Z</dc:date>
    </item>
  </channel>
</rss>

