<?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: Splunk forwarder is not validating path length basic constraint against TLS server certificate in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-forwarder-is-not-validating-path-length-basic-constraint/m-p/703609#M20706</link>
    <description>&lt;P&gt;Yes, I haven't used it myself but indeed you need to have your CAs issued properly (with proper path length constraint. I thought you wanted an additional setting for that. As far as I remember subsequent subCAs can redefine the constraint from the "upper" CA by making it "stronger"&lt;/P&gt;</description>
    <pubDate>Tue, 05 Nov 2024 15:19:37 GMT</pubDate>
    <dc:creator>PickleRick</dc:creator>
    <dc:date>2024-11-05T15:19:37Z</dc:date>
    <item>
      <title>Splunk forwarder is not validating path length basic constraint against TLS server certificate</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-forwarder-is-not-validating-path-length-basic-constraint/m-p/703597#M20702</link>
      <description>&lt;P&gt;We are using Splunk forwarder v9.0.3. We would like to have Splunk forwarder to reject the TLS server certificate if&amp;nbsp;path length basic constraint condition fails.&lt;/P&gt;&lt;P&gt;We generated the TLS server certificate with pathlen as 0 in "root CA" and chain is "root CA -&amp;gt; intermediate CA -&amp;gt; server certificate".&amp;nbsp; As "root CA" pathlen is 0, no intermediate CA should be present. But, forwarder accepting the chain&amp;nbsp;"root CA -&amp;gt; intermediate CA -&amp;gt; server certificate".&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is this a known limitation or does it require a configuration change to basic constraint validation on path length? Please advise.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Below is our outputs.conf contents.&lt;/P&gt;&lt;PRE&gt;[tcpout-server://host:port]
clientCert = /&amp;lt;..&amp;gt;/clientCert.pem
sslPassword = &amp;lt;..&amp;gt;
sslRootCAPath = /&amp;lt;..&amp;gt;/ca.pem
sslVerifyServerCert = true
sslVerifyServerName = true&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2024 13:09:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-forwarder-is-not-validating-path-length-basic-constraint/m-p/703597#M20702</guid>
      <dc:creator>spilli</dc:creator>
      <dc:date>2024-11-05T13:09:19Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk forwarder is not validating path length basic constraint against TLS server certificate</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-forwarder-is-not-validating-path-length-basic-constraint/m-p/703603#M20703</link>
      <description>&lt;P&gt;You want the client to accept server's certificate only if it's been issued directly by the RootCA, not by any subCAs? I don't think you can do that. I don't recall I've seen such thing anywhere. That's how PKI works and that's how it's supposed to work. You don't trust subCA, don't issue a CA cert for it.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2024 14:30:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-forwarder-is-not-validating-path-length-basic-constraint/m-p/703603#M20703</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2024-11-05T14:30:29Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk forwarder is not validating path length basic constraint against TLS server certificate</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-forwarder-is-not-validating-path-length-basic-constraint/m-p/703604#M20704</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/231884"&gt;@PickleRick&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;My requirement is on path length validation. I can try with having path length = 1. In this case, only 1 intermediate CA should be allowed. If a 2nd level of intermediate CA issues server certificate, it should be failed.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2024 14:37:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-forwarder-is-not-validating-path-length-basic-constraint/m-p/703604#M20704</guid>
      <dc:creator>spilli</dc:creator>
      <dc:date>2024-11-05T14:37:20Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk forwarder is not validating path length basic constraint against TLS server certificate</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-forwarder-is-not-validating-path-length-basic-constraint/m-p/703607#M20705</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/231884"&gt;@PickleRick&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Path length constraint validation is working fine when path length is minimum of 1 on Root CA and path length 0 from intermediate CA onwards. Thanks for your guidance.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2024 15:16:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-forwarder-is-not-validating-path-length-basic-constraint/m-p/703607#M20705</guid>
      <dc:creator>spilli</dc:creator>
      <dc:date>2024-11-05T15:16:32Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk forwarder is not validating path length basic constraint against TLS server certificate</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-forwarder-is-not-validating-path-length-basic-constraint/m-p/703609#M20706</link>
      <description>&lt;P&gt;Yes, I haven't used it myself but indeed you need to have your CAs issued properly (with proper path length constraint. I thought you wanted an additional setting for that. As far as I remember subsequent subCAs can redefine the constraint from the "upper" CA by making it "stronger"&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2024 15:19:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-forwarder-is-not-validating-path-length-basic-constraint/m-p/703609#M20706</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2024-11-05T15:19:37Z</dc:date>
    </item>
  </channel>
</rss>

