<?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 can't I use cliVerifyServerName = True with self signed certificate? in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/Why-can-t-I-use-cliVerifyServerName-True-with-self-signed/m-p/634402#M15710</link>
    <description>&lt;P&gt;Yes, I can confirm that when I added that to splunk-launch.conf the python message went away.&lt;/P&gt;&lt;P&gt;Thanks for clarifying your issue above yesterday on using two different certs causing the problem.&amp;nbsp; My issue ended up being a typo in the sslRootCAPath in server.conf.&lt;/P&gt;&lt;P&gt;I appreciate your quick replies.&lt;/P&gt;</description>
    <pubDate>Tue, 14 Mar 2023 12:42:30 GMT</pubDate>
    <dc:creator>kdulle</dc:creator>
    <dc:date>2023-03-14T12:42:30Z</dc:date>
    <item>
      <title>Why can't I use cliVerifyServerName = True with self signed certificate?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Why-can-t-I-use-cliVerifyServerName-True-with-self-signed/m-p/632630#M15530</link>
      <description>&lt;P&gt;We are working on upgrading our Splunk environment from 8.2.7 to 9.0.4&lt;/P&gt;
&lt;P&gt;When we attempt to set&amp;nbsp;cliVerifyServerName = true in server.conf and start splunk, the following is message just keeps being echoed&amp;nbsp; in an endless loop "ERROR: certificate validation: self signed certificate."&lt;/P&gt;
&lt;P&gt;We are only using self signed certificates to secure splunkd but SplunkWeb does have a real cert signed by an recognized signing authority.&amp;nbsp; &amp;nbsp; If we don't set this we see the following message on startup:&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;".WARNING: Server Certificate Hostname Validation is disabled. Please see server.conf/[sslConfig]/cliVerifyServerName for details"&lt;/P&gt;
&lt;P&gt;This feels like a bug to me but not sure since certificates are complicated.&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any one else running into this issue ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2023 18:59:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Why-can-t-I-use-cliVerifyServerName-True-with-self-signed/m-p/632630#M15530</guid>
      <dc:creator>andymalato</dc:creator>
      <dc:date>2023-02-28T18:59:19Z</dc:date>
    </item>
    <item>
      <title>Re: Why can't I use cliVerifyServerName = True with self signed certificate?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Why-can-t-I-use-cliVerifyServerName-True-with-self-signed/m-p/633197#M15578</link>
      <description>&lt;P&gt;I see a similar issue but I have set cliVerifyServerName = false. But from your answer, if it doesn't make a difference I am interested to see what changes we need to employ.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Mar 2023 15:28:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Why-can-t-I-use-cliVerifyServerName-True-with-self-signed/m-p/633197#M15578</guid>
      <dc:creator>_pravin</dc:creator>
      <dc:date>2023-03-03T15:28:34Z</dc:date>
    </item>
    <item>
      <title>Re: Why can't I use cliVerifyServerName = True with self signed certificate?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Why-can-t-I-use-cliVerifyServerName-True-with-self-signed/m-p/634303#M15696</link>
      <description>&lt;P&gt;I'm seeing the same thing.&amp;nbsp; Let me know if you find out more.&lt;BR /&gt;&lt;BR /&gt;Pretty sure this python warning was new after the upgrade as well.&lt;BR /&gt;Upgrading from 9.0&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cliVerifyServerName.png" style="width: 760px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/24288iF6E469E9F28B3E9F/image-size/large?v=v2&amp;amp;px=999" role="button" title="cliVerifyServerName.png" alt="cliVerifyServerName.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Mar 2023 16:36:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Why-can-t-I-use-cliVerifyServerName-True-with-self-signed/m-p/634303#M15696</guid>
      <dc:creator>kdulle</dc:creator>
      <dc:date>2023-03-13T16:36:55Z</dc:date>
    </item>
    <item>
      <title>Re: Why can't I use cliVerifyServerName = True with self signed certificate?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Why-can-t-I-use-cliVerifyServerName-True-with-self-signed/m-p/634307#M15699</link>
      <description>&lt;P&gt;This is somehow tied to SplunkWEB because when we set&amp;nbsp;cliVerifyServerName = true on our indexers (which don't run a web interface) this error does not happen and splunkd starts without issue.&amp;nbsp; I believe the issue is that we are using a self-signed certificate for splunkd but for splunkWEB we are using a signed certificate recognized by a known signing authority.&amp;nbsp; It seems that the mixture of a self-signed certificate in the mix is causing the issue.&amp;nbsp; However,&amp;nbsp; I believe this should be a supported configuration as using two different certificates for splunkd and splunkWEB is supported.&amp;nbsp; &amp;nbsp; This feels like a bug.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Mar 2023 16:50:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Why-can-t-I-use-cliVerifyServerName-True-with-self-signed/m-p/634307#M15699</guid>
      <dc:creator>andymalato</dc:creator>
      <dc:date>2023-03-13T16:50:40Z</dc:date>
    </item>
    <item>
      <title>Re: Why can't I use cliVerifyServerName = True with self signed certificate?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Why-can-t-I-use-cliVerifyServerName-True-with-self-signed/m-p/634381#M15706</link>
      <description>&lt;P&gt;The feature to use TLS hostname validation for Python modules was available starting in 9.0.&amp;nbsp; See&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.0.4/Installation/AboutupgradingREADTHISFIRST" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/9.0.4/Installation/AboutupgradingREADTHISFIRST&lt;/A&gt;&amp;nbsp;for details.&amp;nbsp; &amp;nbsp;We were able to silence the message by setting&amp;nbsp;PYTHONHTTPSVERIFY = 1 in&amp;nbsp;splunk-launch.conf.&amp;nbsp; Hope that helps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Mar 2023 11:00:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Why-can-t-I-use-cliVerifyServerName-True-with-self-signed/m-p/634381#M15706</guid>
      <dc:creator>andymalato</dc:creator>
      <dc:date>2023-03-14T11:00:58Z</dc:date>
    </item>
    <item>
      <title>Re: Why can't I use cliVerifyServerName = True with self signed certificate?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Why-can-t-I-use-cliVerifyServerName-True-with-self-signed/m-p/634402#M15710</link>
      <description>&lt;P&gt;Yes, I can confirm that when I added that to splunk-launch.conf the python message went away.&lt;/P&gt;&lt;P&gt;Thanks for clarifying your issue above yesterday on using two different certs causing the problem.&amp;nbsp; My issue ended up being a typo in the sslRootCAPath in server.conf.&lt;/P&gt;&lt;P&gt;I appreciate your quick replies.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Mar 2023 12:42:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Why-can-t-I-use-cliVerifyServerName-True-with-self-signed/m-p/634402#M15710</guid>
      <dc:creator>kdulle</dc:creator>
      <dc:date>2023-03-14T12:42:30Z</dc:date>
    </item>
    <item>
      <title>Re: Why can't I use cliVerifyServerName = True with self signed certificate?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Why-can-t-I-use-cliVerifyServerName-True-with-self-signed/m-p/679321#M18799</link>
      <description>&lt;P&gt;We are having this exact issue - were you able to find a solution?&lt;/P&gt;</description>
      <pubDate>Fri, 01 Mar 2024 17:00:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Why-can-t-I-use-cliVerifyServerName-True-with-self-signed/m-p/679321#M18799</guid>
      <dc:creator>jorma</dc:creator>
      <dc:date>2024-03-01T17:00:06Z</dc:date>
    </item>
    <item>
      <title>Re: Why can't I use cliVerifyServerName = True with self signed certificate?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Why-can-t-I-use-cliVerifyServerName-True-with-self-signed/m-p/680379#M18862</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/262720"&gt;@jorma&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are a few things you need to check for certificates.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Check if the certificate is pointing to the right file in web.conf&lt;/LI&gt;&lt;LI&gt;If you have a different name for the Splunk web URL, make sure that you have all of them the SAN part of the certificate file.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;I had encountered both of the above issues and once I made the change, our Splunk instance was working perfectly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Pravin&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2024 09:52:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Why-can-t-I-use-cliVerifyServerName-True-with-self-signed/m-p/680379#M18862</guid>
      <dc:creator>_pravin</dc:creator>
      <dc:date>2024-03-12T09:52:36Z</dc:date>
    </item>
  </channel>
</rss>

