<?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 SSL Error on configuring Splunk forwarding using own certificates in Security</title>
    <link>https://community.splunk.com/t5/Security/SSL-Error-on-configuring-Splunk-forwarding-using-own/m-p/376976#M9296</link>
    <description>&lt;P&gt;I am trying to setup Splunk forwarding using own certificates. Following is the configuration made.&lt;/P&gt;

&lt;P&gt;On Indexer (inputs.conf)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[splunktcp-ssl:9997]
disabled = 0

[SSL]
serverCert = C:\Program Files\Splunk\etc\auth\splunksslcerts\server.pem
sslPassword = &amp;lt;ssl password&amp;gt;
requireClientCert = true
sslCommonNameToCheck = &amp;lt;xxxx.xxxx.xx.com&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;On forwarder(outputs.conf)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[tcpout]
defaultGroup = default-autolb-group

[tcpout:default-autolb-group]
server = localhost:9997
clientCert = C:\Program Files\SplunkUniversalForwarder\etc\apps\SSL\certs\server.pem
useClientSSLCompression = true
sslPassword = &amp;lt;ssl password&amp;gt;
sslVerifyServerCert = true
sslCommonNameToCheck = &amp;lt;xxxx.xxxx.xx.com&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Need help in setting it up as it is failing with the following errors in splunkd.log&lt;/P&gt;

&lt;P&gt;In Indexer&lt;/P&gt;

&lt;P&gt;05-08-2018 14:46:25.024 +0100 WARN  SSLCommon - Received fatal SSL3 alert. ssl_state='SSLv3 read client certificate A', alert_description='unknown CA'.&lt;BR /&gt;
05-08-2018 14:46:25.024 +0100 ERROR TcpInputProc - Error encountered for connection from src=127.0.0.1:53800. error:14094418:SSL routines:ssl3_read_bytes:tlsv1 alert unknown ca - please check the output of the &lt;CODE&gt;openssl verify&lt;/CODE&gt; command for the certificates involved; note that if certificate verification is enabled (requireClientCert or sslVerifyServerCert set to "true"), the CA certificate and the server certificate should not have the same Common Name.&lt;/P&gt;

&lt;P&gt;In Forwarder&lt;/P&gt;

&lt;P&gt;05-08-2018 14:53:53.104 +0100 ERROR X509Verify - X509 certificate (emailAddress=&lt;A href="mailto:xxx@xx.com" target="_blank"&gt;xxx@xx.com&lt;/A&gt;,CN=xxxx.xxxx.xx.com,O=xx,L=xx,ST=xx,C=xx) failed validation; error=20, reason="unable to get local issuer certificate"&lt;BR /&gt;
05-08-2018 14:53:53.104 +0100 WARN  SSLCommon - Received fatal SSL3 alert. ssl_state='SSLv3 read server certificate B', alert_description='unknown CA'.&lt;BR /&gt;
05-08-2018 14:53:53.104 +0100 ERROR TcpOutputFd - Connection to host=127.0.0.1:9997 failed. sock_error = 0. SSL Error = error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed - please check the output of the &lt;CODE&gt;openssl verify&lt;/CODE&gt; command for the certificates involved; note that if certificate verification is enabled (requireClientCert or sslVerifyServerCert set to "true"), the CA certificate and the server certificate should not have the same Common Name.&lt;BR /&gt;
05-08-2018 14:53:53.105 +0100 WARN  TcpOutputProc - Applying quarantine to ip=127.0.0.1 port=9997 _numberOfFailures=2&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 19:22:47 GMT</pubDate>
    <dc:creator>chintu_jain</dc:creator>
    <dc:date>2020-09-29T19:22:47Z</dc:date>
    <item>
      <title>SSL Error on configuring Splunk forwarding using own certificates</title>
      <link>https://community.splunk.com/t5/Security/SSL-Error-on-configuring-Splunk-forwarding-using-own/m-p/376976#M9296</link>
      <description>&lt;P&gt;I am trying to setup Splunk forwarding using own certificates. Following is the configuration made.&lt;/P&gt;

&lt;P&gt;On Indexer (inputs.conf)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[splunktcp-ssl:9997]
disabled = 0

[SSL]
serverCert = C:\Program Files\Splunk\etc\auth\splunksslcerts\server.pem
sslPassword = &amp;lt;ssl password&amp;gt;
requireClientCert = true
sslCommonNameToCheck = &amp;lt;xxxx.xxxx.xx.com&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;On forwarder(outputs.conf)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[tcpout]
defaultGroup = default-autolb-group

[tcpout:default-autolb-group]
server = localhost:9997
clientCert = C:\Program Files\SplunkUniversalForwarder\etc\apps\SSL\certs\server.pem
useClientSSLCompression = true
sslPassword = &amp;lt;ssl password&amp;gt;
sslVerifyServerCert = true
sslCommonNameToCheck = &amp;lt;xxxx.xxxx.xx.com&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Need help in setting it up as it is failing with the following errors in splunkd.log&lt;/P&gt;

&lt;P&gt;In Indexer&lt;/P&gt;

&lt;P&gt;05-08-2018 14:46:25.024 +0100 WARN  SSLCommon - Received fatal SSL3 alert. ssl_state='SSLv3 read client certificate A', alert_description='unknown CA'.&lt;BR /&gt;
05-08-2018 14:46:25.024 +0100 ERROR TcpInputProc - Error encountered for connection from src=127.0.0.1:53800. error:14094418:SSL routines:ssl3_read_bytes:tlsv1 alert unknown ca - please check the output of the &lt;CODE&gt;openssl verify&lt;/CODE&gt; command for the certificates involved; note that if certificate verification is enabled (requireClientCert or sslVerifyServerCert set to "true"), the CA certificate and the server certificate should not have the same Common Name.&lt;/P&gt;

&lt;P&gt;In Forwarder&lt;/P&gt;

&lt;P&gt;05-08-2018 14:53:53.104 +0100 ERROR X509Verify - X509 certificate (emailAddress=&lt;A href="mailto:xxx@xx.com" target="_blank"&gt;xxx@xx.com&lt;/A&gt;,CN=xxxx.xxxx.xx.com,O=xx,L=xx,ST=xx,C=xx) failed validation; error=20, reason="unable to get local issuer certificate"&lt;BR /&gt;
05-08-2018 14:53:53.104 +0100 WARN  SSLCommon - Received fatal SSL3 alert. ssl_state='SSLv3 read server certificate B', alert_description='unknown CA'.&lt;BR /&gt;
05-08-2018 14:53:53.104 +0100 ERROR TcpOutputFd - Connection to host=127.0.0.1:9997 failed. sock_error = 0. SSL Error = error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed - please check the output of the &lt;CODE&gt;openssl verify&lt;/CODE&gt; command for the certificates involved; note that if certificate verification is enabled (requireClientCert or sslVerifyServerCert set to "true"), the CA certificate and the server certificate should not have the same Common Name.&lt;BR /&gt;
05-08-2018 14:53:53.105 +0100 WARN  TcpOutputProc - Applying quarantine to ip=127.0.0.1 port=9997 _numberOfFailures=2&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 19:22:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/SSL-Error-on-configuring-Splunk-forwarding-using-own/m-p/376976#M9296</guid>
      <dc:creator>chintu_jain</dc:creator>
      <dc:date>2020-09-29T19:22:47Z</dc:date>
    </item>
    <item>
      <title>Re: SSL Error on configuring Splunk forwarding using own certificates</title>
      <link>https://community.splunk.com/t5/Security/SSL-Error-on-configuring-Splunk-forwarding-using-own/m-p/376977#M9297</link>
      <description>&lt;P&gt;Was this resolved?&lt;/P&gt;

&lt;P&gt;We are encountering the same issue as well.&lt;/P&gt;</description>
      <pubDate>Sat, 08 Jun 2019 07:59:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/SSL-Error-on-configuring-Splunk-forwarding-using-own/m-p/376977#M9297</guid>
      <dc:creator>vik_splunk</dc:creator>
      <dc:date>2019-06-08T07:59:55Z</dc:date>
    </item>
    <item>
      <title>Re: SSL Error on configuring Splunk forwarding using own certificates</title>
      <link>https://community.splunk.com/t5/Security/SSL-Error-on-configuring-Splunk-forwarding-using-own/m-p/376978#M9298</link>
      <description>&lt;P&gt;You have this set to true:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sslVerifyServerCert = true
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Which means that Splunk will try and verify that the certs in Splunk are actually valid. However the CA is not, so Splunk is unable to verify the authenticity of the cert and will therefore refuse connections. Change this to false and you'll restore communications. Better yet, use self signed certs and a CA that the instances can actually communicate with.&lt;/P&gt;</description>
      <pubDate>Sat, 08 Jun 2019 20:36:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/SSL-Error-on-configuring-Splunk-forwarding-using-own/m-p/376978#M9298</guid>
      <dc:creator>martynoconnor</dc:creator>
      <dc:date>2019-06-08T20:36:41Z</dc:date>
    </item>
    <item>
      <title>Re: SSL Error on configuring Splunk forwarding using own certificates</title>
      <link>https://community.splunk.com/t5/Security/SSL-Error-on-configuring-Splunk-forwarding-using-own/m-p/526229#M11914</link>
      <description>&lt;P&gt;Any updates to this?&lt;/P&gt;</description>
      <pubDate>Fri, 23 Oct 2020 13:30:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/SSL-Error-on-configuring-Splunk-forwarding-using-own/m-p/526229#M11914</guid>
      <dc:creator>spluzer</dc:creator>
      <dc:date>2020-10-23T13:30:45Z</dc:date>
    </item>
    <item>
      <title>Re: SSL Error on configuring Splunk forwarding using own certificates</title>
      <link>https://community.splunk.com/t5/Security/SSL-Error-on-configuring-Splunk-forwarding-using-own/m-p/643884#M16974</link>
      <description>&lt;PRE&gt;sslVerifyServerCert = true &lt;/PRE&gt;&lt;P&gt;I have added this setting in&amp;nbsp;[sslConfig]&lt;BR /&gt;after that portal was not loading then removed&amp;nbsp;&lt;BR /&gt;it started working.&lt;/P&gt;</description>
      <pubDate>Fri, 19 May 2023 10:50:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/SSL-Error-on-configuring-Splunk-forwarding-using-own/m-p/643884#M16974</guid>
      <dc:creator>eswara9</dc:creator>
      <dc:date>2023-05-19T10:50:34Z</dc:date>
    </item>
  </channel>
</rss>

