<?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: Setting requireClientCert = true in server.conf prevents the CLI from communicating with splunkd in Security</title>
    <link>https://community.splunk.com/t5/Security/Setting-requireClientCert-true-in-server-conf-prevents-the-CLI/m-p/59261#M1991</link>
    <description>&lt;P&gt;Just an update that the issue on the communication being broken when authenticating the client cert has been fixed on Splunk 5.X&lt;/P&gt;</description>
    <pubDate>Wed, 27 Mar 2013 03:04:47 GMT</pubDate>
    <dc:creator>psow_splunk</dc:creator>
    <dc:date>2013-03-27T03:04:47Z</dc:date>
    <item>
      <title>Setting requireClientCert = true in server.conf prevents the CLI from communicating with splunkd</title>
      <link>https://community.splunk.com/t5/Security/Setting-requireClientCert-true-in-server-conf-prevents-the-CLI/m-p/59257#M1987</link>
      <description>&lt;P&gt;In server.conf.spec, it is indicated that &lt;CODE&gt;requireClientCert = true&lt;/CODE&gt; can be set to require HTTPS clients connecting to splunkd to present a certificate signed by the CA whose public certificate we define in &lt;CODE&gt;caCertFile&lt;/CODE&gt; in &lt;A href="http://www.splunk.com/base/Documentation/latest/Admin/Serverconf" target="_blank"&gt;server.conf.spec&lt;/A&gt; :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;requireClientCert = [true|false]

Requires that any HTTPS client that connects to splunkds internal HTTPS server has a certificate that was signed by our certificate authority.
Used by distributed search: Splunk indexing instances must be authenticated to connect to another splunk indexing instance.
Used by distributed deployment: The deployment server requires that deployment clients are authenticated before allowing them to poll for new configurations/applications.
If true, a client can connect ONLY if a certificate created by our certificate authority was used on that client.
Default is false
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;However, this appears to break communication between the CLI and splunkd :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[root@hostname local]# splunk login
Splunk username: admin
Password:
Couldn't get auth token: Couldn't complete HTTP request:
error:14094410:SSL routines:SSL3_READ_BYTES:sslv3 alert handshake failure
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;From web_service.log:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;SplunkdConnectionException: Splunkd daemon is not responding: ('[Errno 1] _ssl.c:485: error:14094410:SSL routines:SSL3_READ_BYTES:sslv3 alert handshake failure',)&lt;BR /&gt;
2011-04-14 14:19:22,335 ERROR [4da73aaa551ece7d0] startup:52 - Unable to read in product version information; Splunkd daemon is not responding: ('[Errno 1] _ssl.c:485: error:14094410:SSL routines:SSL3_READ_BYTES:sslv3 alert handshake failure',)&lt;BR /&gt;
2011-04-14 14:19:22,336 ERROR [4da73aaa551ece7d0] decorators:361 - Splunkd daemon is not responding: ('[Errno 1] _ssl.c:485:error:14094410:SSL routines:SSL3_READ_BYTES:sslv3 alert handshake failure',)&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 10:22:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Setting-requireClientCert-true-in-server-conf-prevents-the-CLI/m-p/59257#M1987</guid>
      <dc:creator>hexx</dc:creator>
      <dc:date>2020-09-28T10:22:00Z</dc:date>
    </item>
    <item>
      <title>Re: Setting requireClientCert = true in server.conf prevents the CLI from communicating with splunkd</title>
      <link>https://community.splunk.com/t5/Security/Setting-requireClientCert-true-in-server-conf-prevents-the-CLI/m-p/59258#M1988</link>
      <description>&lt;P&gt;Because the CLI cannot be configured to present an SSL certificate, setting &lt;CODE&gt;requireClientCert = true&lt;/CODE&gt; in server.conf does indeed break its ability to communicate with splunkd.&lt;/P&gt;

&lt;P&gt;As of Splunk 4.3, this has been filed as bug SPL-47585.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2012 21:12:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Setting-requireClientCert-true-in-server-conf-prevents-the-CLI/m-p/59258#M1988</guid>
      <dc:creator>hexx</dc:creator>
      <dc:date>2012-01-26T21:12:25Z</dc:date>
    </item>
    <item>
      <title>Re: Setting requireClientCert = true in server.conf prevents the CLI from communicating with splunkd</title>
      <link>https://community.splunk.com/t5/Security/Setting-requireClientCert-true-in-server-conf-prevents-the-CLI/m-p/59259#M1989</link>
      <description>&lt;P&gt;The best workaround for this issue I've found is to proxy your request through socat like so:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;socat TCP-LISTEN:1212,fork,reuseaddr  OPENSSL-CONNECT:somesplunk-instance:8089,verify=0,cert=somecert.pem
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;And then calling splunk like so:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;./bin/splunk list monitor -uri &lt;A href="http://localhost:1212" target="test_blank"&gt;http://localhost:1212&lt;/A&gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 27 Jan 2012 06:20:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Setting-requireClientCert-true-in-server-conf-prevents-the-CLI/m-p/59259#M1989</guid>
      <dc:creator>kenson</dc:creator>
      <dc:date>2012-01-27T06:20:04Z</dc:date>
    </item>
    <item>
      <title>Re: Setting requireClientCert = true in server.conf prevents the CLI from communicating with splunkd</title>
      <link>https://community.splunk.com/t5/Security/Setting-requireClientCert-true-in-server-conf-prevents-the-CLI/m-p/59260#M1990</link>
      <description>&lt;P&gt;Nice work-around! Thank you for sharing it.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jan 2012 06:27:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Setting-requireClientCert-true-in-server-conf-prevents-the-CLI/m-p/59260#M1990</guid>
      <dc:creator>hexx</dc:creator>
      <dc:date>2012-01-27T06:27:13Z</dc:date>
    </item>
    <item>
      <title>Re: Setting requireClientCert = true in server.conf prevents the CLI from communicating with splunkd</title>
      <link>https://community.splunk.com/t5/Security/Setting-requireClientCert-true-in-server-conf-prevents-the-CLI/m-p/59261#M1991</link>
      <description>&lt;P&gt;Just an update that the issue on the communication being broken when authenticating the client cert has been fixed on Splunk 5.X&lt;/P&gt;</description>
      <pubDate>Wed, 27 Mar 2013 03:04:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Setting-requireClientCert-true-in-server-conf-prevents-the-CLI/m-p/59261#M1991</guid>
      <dc:creator>psow_splunk</dc:creator>
      <dc:date>2013-03-27T03:04:47Z</dc:date>
    </item>
    <item>
      <title>Re: Setting requireClientCert = true in server.conf prevents the CLI from communicating with splunkd</title>
      <link>https://community.splunk.com/t5/Security/Setting-requireClientCert-true-in-server-conf-prevents-the-CLI/m-p/59262#M1992</link>
      <description>&lt;P&gt;There is a new bug filed as bug SPL-122988 for version 6.4.1 of Splunk&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2016 21:44:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Setting-requireClientCert-true-in-server-conf-prevents-the-CLI/m-p/59262#M1992</guid>
      <dc:creator>abhullar_splunk</dc:creator>
      <dc:date>2016-07-12T21:44:50Z</dc:date>
    </item>
    <item>
      <title>Re: Setting requireClientCert = true in server.conf prevents the CLI from communicating with splunkd</title>
      <link>https://community.splunk.com/t5/Security/Setting-requireClientCert-true-in-server-conf-prevents-the-CLI/m-p/705151#M18233</link>
      <description>&lt;P&gt;It is 12 years later, and this is still an issue.&lt;/P&gt;&lt;P&gt;You cannot set 'requireClientCert=true' in server.conf on, for example, a Deployment Server, and have a working Web UI on that Deployment Server.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Setting&amp;nbsp;'requireClientCert=true' in server.conf still breaks the Web UI in late November 2024.&lt;/P&gt;</description>
      <pubDate>Sun, 24 Nov 2024 18:10:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Setting-requireClientCert-true-in-server-conf-prevents-the-CLI/m-p/705151#M18233</guid>
      <dc:creator>moliminous</dc:creator>
      <dc:date>2024-11-24T18:10:20Z</dc:date>
    </item>
    <item>
      <title>Re: Setting requireClientCert = true in server.conf prevents the CLI from communicating with splunkd</title>
      <link>https://community.splunk.com/t5/Security/Setting-requireClientCert-true-in-server-conf-prevents-the-CLI/m-p/705179#M18237</link>
      <description>&lt;P&gt;As you can see in the comments in this thread. This bug was fixed ages ago. Then another one popped up and was fixed. If you still have a problem with this functionality, you might have encountered yet another but. Just raise a case with support please.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Nov 2024 08:38:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Setting-requireClientCert-true-in-server-conf-prevents-the-CLI/m-p/705179#M18237</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2024-11-25T08:38:32Z</dc:date>
    </item>
    <item>
      <title>Re: Setting requireClientCert = true in server.conf prevents the CLI from communicating with splunkd</title>
      <link>https://community.splunk.com/t5/Security/Setting-requireClientCert-true-in-server-conf-prevents-the-CLI/m-p/710529#M18312</link>
      <description>&lt;P&gt;I don't think I can as a partner, but I frequently submit changes to their docs and post in Slack&lt;/P&gt;</description>
      <pubDate>Tue, 04 Feb 2025 01:52:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Setting-requireClientCert-true-in-server-conf-prevents-the-CLI/m-p/710529#M18312</guid>
      <dc:creator>moliminous</dc:creator>
      <dc:date>2025-02-04T01:52:17Z</dc:date>
    </item>
  </channel>
</rss>

