<?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: How do I enable mTLS for the replication port on a Search Head Cluster? in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/How-do-I-enable-mTLS-for-the-replication-port-on-a-Search-Head/m-p/751293#M22837</link>
    <description>&lt;P&gt;The settings for tls should be set the same way as they are on management port. Your configuration looks more or less correct. What do you mean by "doesn't work"? Remember that you need to have a working CA for mTLS to work. Self-signed certs most probably won't work.&lt;/P&gt;</description>
    <pubDate>Fri, 08 Aug 2025 19:35:51 GMT</pubDate>
    <dc:creator>PickleRick</dc:creator>
    <dc:date>2025-08-08T19:35:51Z</dc:date>
    <item>
      <title>How do I enable mTLS for the replication port on a Search Head Cluster?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-do-I-enable-mTLS-for-the-replication-port-on-a-Search-Head/m-p/751283#M22835</link>
      <description>&lt;P&gt;Please share your knowledge.&lt;/P&gt;&lt;P&gt;Splunk 9.4&lt;/P&gt;&lt;P&gt;reference&lt;BR /&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.4.2/Admin/Serverconf" target="_blank" rel="noopener"&gt;https://docs.splunk.com/Documentation/Splunk/9.4.2/Admin/Serverconf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I'm trying to set SHC replication to mTLS, but it's not working.&lt;BR /&gt;Alerts created in Splunk Web are being replicated.&lt;BR /&gt;I'm using a self-signed certificate.&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;search-head-1,search-head-2,search-head-3のsplunkd.log"port 9887 with SSL"is output.&lt;BR /&gt;08-06-2025 08:05:34.894 +0000 INFO TcpInputProc [148404 TcpListener] - Creating replication data Acceptor for IPv4 port 9887 with SSL&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;BR /&gt;However, "useSSL=false" is output to all Search Heads.&lt;BR /&gt;08-08-2025 02:41:30.425 +0000 INFO SHCRepJob [21691 SHPPushExecutorWorker-0] - Running job=SHPRepJob peer="search-head-2", guid="A5CDBF4C-7F71-4705-9E20-10529800C25E" aid=scheduler__nobody_U3BsdW5rX1NBX0NJTQ__RMD5fe51f0ad1d9fe444_at_1754620680_13_A5CDBF4C-7F71-4705-9E20-10529800C25E, tgtPeer="search-head-1", tgtGuid="79BB42FF-7436-4966-B8C8-951EEF67C1AD", tgtRP=9887, useSSL=false&lt;/P&gt;&lt;P&gt;The correct response is returned with the openssl command.&lt;BR /&gt;The created self-signed certificate is also used on 8000 and 8089.&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;$ sudo openssl s_client \&lt;BR /&gt;-connect &amp;lt;host IP&amp;gt;:9887 \&lt;BR /&gt;-CAfile /opt/splunk/etc/auth/mycerts/&amp;lt;myRootCA&amp;gt;.pem \&lt;BR /&gt;-cert /opt/splunk/etc/auth/mycerts/&amp;lt;mycert&amp;gt;.pem \&lt;BR /&gt;-key /opt/splunk/etc/auth/mycerts/&amp;lt;mykey&amp;gt;.key&lt;BR /&gt;&lt;BR /&gt;Verify return code: 0 (ok)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# /opt/splunk/etc/system/local/server.conf&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;[sslConfig]&lt;BR /&gt;enableSplunkdSSL = true&lt;BR /&gt;sslRootCAPath = /opt/splunk/etc/auth/mycerts/&amp;lt;myRootCA.pem&amp;gt;&lt;BR /&gt;serverCert = /opt/splunk/etc/auth/mycerts/&amp;lt;combined certificate.pem&amp;gt;&lt;BR /&gt;requireClientCert = true&lt;BR /&gt;sslVersions = tls1.2&lt;BR /&gt;sslCommonNameToCheck = &amp;lt;search-head-1&amp;gt;,&amp;lt;search-head-2&amp;gt;,&amp;lt;search-head-3&amp;gt;,・・・&lt;BR /&gt;sslPassword = &amp;lt;RootCR password&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;[replication_port://9887]&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;[replication_port-ssl://9887]&lt;BR /&gt;disabled = false&lt;BR /&gt;serverCert = /opt/splunk/etc/auth/mycerts/&amp;lt;combined certificate.pem&amp;gt;&lt;BR /&gt;requireClientCert = true&lt;BR /&gt;sslVersions = tls1.2&lt;BR /&gt;sslCommonNameToCheck = &amp;lt;search-head-1&amp;gt;,&amp;lt;search-head-2&amp;gt;,&amp;lt;search-head-3&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I use Google Translate to translate Japanese into English.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Aug 2025 14:27:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-do-I-enable-mTLS-for-the-replication-port-on-a-Search-Head/m-p/751283#M22835</guid>
      <dc:creator>OGS</dc:creator>
      <dc:date>2025-08-08T14:27:10Z</dc:date>
    </item>
    <item>
      <title>Re: How do I enable mTLS for the replication port on a Search Head Cluster?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-do-I-enable-mTLS-for-the-replication-port-on-a-Search-Head/m-p/751293#M22837</link>
      <description>&lt;P&gt;The settings for tls should be set the same way as they are on management port. Your configuration looks more or less correct. What do you mean by "doesn't work"? Remember that you need to have a working CA for mTLS to work. Self-signed certs most probably won't work.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Aug 2025 19:35:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-do-I-enable-mTLS-for-the-replication-port-on-a-Search-Head/m-p/751293#M22837</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2025-08-08T19:35:51Z</dc:date>
    </item>
    <item>
      <title>Re: How do I enable mTLS for the replication port on a Search Head Cluster?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-do-I-enable-mTLS-for-the-replication-port-on-a-Search-Head/m-p/751297#M22838</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/262875"&gt;@OGS&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You need to disable&amp;nbsp;replication_port://9887 by either setting a disabled=true flag or ensuring it does not exist anywhere in your configuration - you can use btool to check:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt; $SPLUNK_HOME/bin/splunk cmd btool server list --debug replication_port&lt;/LI-CODE&gt;&lt;P&gt;If you have replication_port *and* replication_port-ssl enabled then this might conflict.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Other things to note:&lt;/P&gt;&lt;UL class=""&gt;&lt;LI&gt;serverCert must contain the server cert plus private key; sslPassword (if set) must be the private key’s passphrase (not the CA’s).&lt;/LI&gt;&lt;LI&gt;sslRootCAPath must include the full trust chain (root + any intermediates).&lt;/LI&gt;&lt;LI&gt;The names in sslCommonNameToCheck must match the CN/SANs in the peer certificates.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":glowing_star:"&gt;🌟&lt;/span&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Did this answer help you?&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;If so, please consider:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Adding karma to show it was useful&lt;/LI&gt;&lt;LI&gt;Marking it as the solution if it resolved your issue&lt;/LI&gt;&lt;LI&gt;Commenting if you need any clarification&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Your feedback encourages the volunteers in this community to continue contributing&lt;/P&gt;</description>
      <pubDate>Sat, 09 Aug 2025 09:07:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-do-I-enable-mTLS-for-the-replication-port-on-a-Search-Head/m-p/751297#M22838</guid>
      <dc:creator>livehybrid</dc:creator>
      <dc:date>2025-08-09T09:07:54Z</dc:date>
    </item>
    <item>
      <title>Re: How do I enable mTLS for the replication port on a Search Head Cluster?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-do-I-enable-mTLS-for-the-replication-port-on-a-Search-Head/m-p/751323#M22839</link>
      <description>&lt;P&gt;&amp;gt; The settings for TLS should be set the same way as they are on the management port.&lt;BR /&gt;Does this mean that it needs to match the port specified in mgmt_uri in the [shclustering] stanza?&lt;/P&gt;&lt;P&gt;&amp;gt; What do you mean by "doesn't work"?&lt;BR /&gt;&amp;gt; Remember that you need to have a working CA for mTLS to work.&lt;BR /&gt;&amp;gt; Self-signed certs most probably won't work.&lt;BR /&gt;The splunkd.log shows "useSSL=false," which goes against my intention.&lt;/P&gt;&lt;P&gt;This log result suggests that it's set to non-SSL.&lt;/P&gt;&lt;P&gt;I assumed that if communication was via mTLS, "useSSL=true" would be set.&lt;/P&gt;&lt;P&gt;If it doesn't work with a self-signed certificate, I'll try this setting another time.&lt;/P&gt;&lt;P&gt;Thank you for your advice.&lt;/P&gt;</description>
      <pubDate>Sun, 10 Aug 2025 14:40:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-do-I-enable-mTLS-for-the-replication-port-on-a-Search-Head/m-p/751323#M22839</guid>
      <dc:creator>OGS</dc:creator>
      <dc:date>2025-08-10T14:40:48Z</dc:date>
    </item>
    <item>
      <title>Re: How do I enable mTLS for the replication port on a Search Head Cluster?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-do-I-enable-mTLS-for-the-replication-port-on-a-Search-Head/m-p/751374#M22844</link>
      <description>&lt;P&gt;Specifying it explicitly resolved the issue.&lt;/P&gt;&lt;P&gt;[replication_port://9887]&lt;BR /&gt;disabled = false&lt;/P&gt;&lt;P&gt;I confirmed from Captain's splunkd.log that communication with all tgtPeers is set to "useSSL=true."&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Aug 2025 05:30:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-do-I-enable-mTLS-for-the-replication-port-on-a-Search-Head/m-p/751374#M22844</guid>
      <dc:creator>OGS</dc:creator>
      <dc:date>2025-08-12T05:30:28Z</dc:date>
    </item>
  </channel>
</rss>

