<?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 Additional SSL Verification in Security</title>
    <link>https://community.splunk.com/t5/Security/Additional-SSL-Verification/m-p/462060#M10743</link>
    <description>&lt;P&gt;Hey everyone.&lt;BR /&gt;First time SSL setup (IDX &amp;amp; UF both v8.x) and cert creation (never done before). Had a question about verifying if things worked. I walked through splunk docs and got to the point of verifying connection.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.2/Security/Validateyourconfiguration" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/8.0.2/Security/Validateyourconfiguration&lt;/A&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;On my IDX i can run:

index=_internal source=*metrics.log* group=tcpin_connections | 
dedup hostname | table _time hostname version sourceIp destPort ssl
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I do get expected result returned port (9998) and SSL = true.&lt;BR /&gt;BUT this was the only part of the instructions that i could follow to verify SSL items. I can't find anything else within Splunkd or index=_* referencing what is being mentioned in the validating procedures for the UF portion. I can see that the UF has the following output in splunkd "Connected to idx=10.202.20.229:9998". This UF is only setup to forward to the one server over port 9998.&lt;/P&gt;
&lt;P&gt;The next steps i followed where on this page &lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.2/Security/Troubleshootyouforwardertoindexerauthentication" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/8.0.2/Security/Troubleshootyouforwardertoindexerauthentication&lt;/A&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;openssl s_client -connect &amp;lt;server&amp;gt;:&amp;lt;port&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;and the expected output mentioned Verify return code: 0 (ok) was instead returning code: 18 (self signed certificate).&lt;BR /&gt;Then on the UF i attempted to monitor a random log file that i update. On the main Splunk server i can see the data come in.&lt;BR /&gt;I'm just second guessing if i did things correctly given i wasn't able to validate internal Splunk logs.&lt;/P&gt;
&lt;P&gt;UF&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;server.conf 
 [sslConfig]
 sslRootCAPath = /opt/splunkforwarder/etc/auth/myCerts/myCACertificate.pem
 sslPassword = &amp;lt;with pass here&amp;gt;
outputs.conf 
 [SSL]
 [tcpout]
defaultGroup = group1
 [tcpout:group1]
 server = 10.202.20.229:9998
 disabled = 0
 clientCert = /opt/splunkforwarder/etc/auth/myCerts/myNewSplunkForwarderCert.pem
useClientSSLCompression = true
sslPassword = &amp;lt;with pass here&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;IDX&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;inputs.conf
 [splunktcp-ssl:9998]
disabled = 0
[SSL]
serverCert = /opt/splunk/etc/auth/myCerts/myNewSplunkIndexerCert.pem
sslPassword = &amp;lt;with pass here&amp;gt;
requireClientCert = "true"
server.conf
 [sslConfig]
 sslRootCAPath = /opt/splunk/etc/auth/myCerts/myCACertificate.pem
 sslPassword = &amp;lt;with pass here&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Sun, 07 Jun 2020 18:01:02 GMT</pubDate>
    <dc:creator>v_trilo</dc:creator>
    <dc:date>2020-06-07T18:01:02Z</dc:date>
    <item>
      <title>Additional SSL Verification</title>
      <link>https://community.splunk.com/t5/Security/Additional-SSL-Verification/m-p/462060#M10743</link>
      <description>&lt;P&gt;Hey everyone.&lt;BR /&gt;First time SSL setup (IDX &amp;amp; UF both v8.x) and cert creation (never done before). Had a question about verifying if things worked. I walked through splunk docs and got to the point of verifying connection.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.2/Security/Validateyourconfiguration" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/8.0.2/Security/Validateyourconfiguration&lt;/A&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;On my IDX i can run:

index=_internal source=*metrics.log* group=tcpin_connections | 
dedup hostname | table _time hostname version sourceIp destPort ssl
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I do get expected result returned port (9998) and SSL = true.&lt;BR /&gt;BUT this was the only part of the instructions that i could follow to verify SSL items. I can't find anything else within Splunkd or index=_* referencing what is being mentioned in the validating procedures for the UF portion. I can see that the UF has the following output in splunkd "Connected to idx=10.202.20.229:9998". This UF is only setup to forward to the one server over port 9998.&lt;/P&gt;
&lt;P&gt;The next steps i followed where on this page &lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.2/Security/Troubleshootyouforwardertoindexerauthentication" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/8.0.2/Security/Troubleshootyouforwardertoindexerauthentication&lt;/A&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;openssl s_client -connect &amp;lt;server&amp;gt;:&amp;lt;port&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;and the expected output mentioned Verify return code: 0 (ok) was instead returning code: 18 (self signed certificate).&lt;BR /&gt;Then on the UF i attempted to monitor a random log file that i update. On the main Splunk server i can see the data come in.&lt;BR /&gt;I'm just second guessing if i did things correctly given i wasn't able to validate internal Splunk logs.&lt;/P&gt;
&lt;P&gt;UF&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;server.conf 
 [sslConfig]
 sslRootCAPath = /opt/splunkforwarder/etc/auth/myCerts/myCACertificate.pem
 sslPassword = &amp;lt;with pass here&amp;gt;
outputs.conf 
 [SSL]
 [tcpout]
defaultGroup = group1
 [tcpout:group1]
 server = 10.202.20.229:9998
 disabled = 0
 clientCert = /opt/splunkforwarder/etc/auth/myCerts/myNewSplunkForwarderCert.pem
useClientSSLCompression = true
sslPassword = &amp;lt;with pass here&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;IDX&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;inputs.conf
 [splunktcp-ssl:9998]
disabled = 0
[SSL]
serverCert = /opt/splunk/etc/auth/myCerts/myNewSplunkIndexerCert.pem
sslPassword = &amp;lt;with pass here&amp;gt;
requireClientCert = "true"
server.conf
 [sslConfig]
 sslRootCAPath = /opt/splunk/etc/auth/myCerts/myCACertificate.pem
 sslPassword = &amp;lt;with pass here&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 07 Jun 2020 18:01:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Additional-SSL-Verification/m-p/462060#M10743</guid>
      <dc:creator>v_trilo</dc:creator>
      <dc:date>2020-06-07T18:01:02Z</dc:date>
    </item>
  </channel>
</rss>

