<?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 apps: How do you resolve certificate verification errors? in Security</title>
    <link>https://community.splunk.com/t5/Security/Splunk-apps-How-do-you-resolve-certificate-verification-errors/m-p/371502#M9183</link>
    <description>&lt;P&gt;which OS are you using for splunk ? &lt;/P&gt;</description>
    <pubDate>Thu, 04 Jan 2018 14:08:30 GMT</pubDate>
    <dc:creator>burakcinar</dc:creator>
    <dc:date>2018-01-04T14:08:30Z</dc:date>
    <item>
      <title>Splunk apps: How do you resolve certificate verification errors?</title>
      <link>https://community.splunk.com/t5/Security/Splunk-apps-How-do-you-resolve-certificate-verification-errors/m-p/371499#M9180</link>
      <description>&lt;P&gt;I've searched the similar questions and did not find a direct answer. &lt;BR /&gt;
I have a Splunk APP &lt;CODE&gt;(Code42)&lt;/CODE&gt; that fails because of SLL verification issues. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;"file=RESTClient.py:error:319 message="message="[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:676)" exception_type="SSLError" exception_arguments="[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:676)" filename="code42_clients.py" line="180"""
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The certificate on the server, where the app is pulling data from, is self-signed. We cannot change that unfortunately. Within the Splunk application where do add this certificate so Splunk and all associated apps will trust the cert?&lt;/P&gt;

&lt;P&gt;I've checked and made changes to this file, Documentation/Splunk/latest/Admin/Serverconf, however they have not been successful. I want to verify the app's cert, and not ignore certificate failures. &lt;/P&gt;</description>
      <pubDate>Wed, 03 Jan 2018 16:53:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Splunk-apps-How-do-you-resolve-certificate-verification-errors/m-p/371499#M9180</guid>
      <dc:creator>SplunkIT3337</dc:creator>
      <dc:date>2018-01-03T16:53:02Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk apps: How do you resolve certificate verification errors?</title>
      <link>https://community.splunk.com/t5/Security/Splunk-apps-How-do-you-resolve-certificate-verification-errors/m-p/371500#M9181</link>
      <description>&lt;P&gt;if you cant change self-signed ssl , you need to export your certificate (including the private key)  and install it to splunk server.&lt;/P&gt;

&lt;P&gt;i assume that code42 is related with crashplan and they have documentation for ssl implementation. ( check: &lt;A href="https://support.code42.com/Administrator/6/Configuring/Install_your_own_SSL_certificate_with_OpenSSL"&gt;https://support.code42.com/Administrator/6/Configuring/Install_your_own_SSL_certificate_with_OpenSSL&lt;/A&gt; )&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jan 2018 20:50:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Splunk-apps-How-do-you-resolve-certificate-verification-errors/m-p/371500#M9181</guid>
      <dc:creator>burakcinar</dc:creator>
      <dc:date>2018-01-03T20:50:38Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk apps: How do you resolve certificate verification errors?</title>
      <link>https://community.splunk.com/t5/Security/Splunk-apps-How-do-you-resolve-certificate-verification-errors/m-p/371501#M9182</link>
      <description>&lt;P&gt;Where would I install the key on the Splunk side? The article seems to mention setting up they cert on the CrashPlan server, which we already have. The Splunk app, will not validate the certificate though. On the Splunk server we have tried adding the certificate to the appsca.pem file, however that has not fixed the issue. &lt;/P&gt;</description>
      <pubDate>Thu, 04 Jan 2018 12:55:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Splunk-apps-How-do-you-resolve-certificate-verification-errors/m-p/371501#M9182</guid>
      <dc:creator>SplunkIT3337</dc:creator>
      <dc:date>2018-01-04T12:55:59Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk apps: How do you resolve certificate verification errors?</title>
      <link>https://community.splunk.com/t5/Security/Splunk-apps-How-do-you-resolve-certificate-verification-errors/m-p/371502#M9183</link>
      <description>&lt;P&gt;which OS are you using for splunk ? &lt;/P&gt;</description>
      <pubDate>Thu, 04 Jan 2018 14:08:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Splunk-apps-How-do-you-resolve-certificate-verification-errors/m-p/371502#M9183</guid>
      <dc:creator>burakcinar</dc:creator>
      <dc:date>2018-01-04T14:08:30Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk apps: How do you resolve certificate verification errors?</title>
      <link>https://community.splunk.com/t5/Security/Splunk-apps-How-do-you-resolve-certificate-verification-errors/m-p/371503#M9184</link>
      <description>&lt;P&gt;Ubuntu 14.04 LTS&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jan 2018 14:09:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Splunk-apps-How-do-you-resolve-certificate-verification-errors/m-p/371503#M9184</guid>
      <dc:creator>SplunkIT3337</dc:creator>
      <dc:date>2018-01-04T14:09:57Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk apps: How do you resolve certificate verification errors?</title>
      <link>https://community.splunk.com/t5/Security/Splunk-apps-How-do-you-resolve-certificate-verification-errors/m-p/371504#M9185</link>
      <description>&lt;P&gt;We have changed the certificate to one issued by a trusted CA (Entrust). However Splunk OpenSSL does not seem to like Entrust and still gives the same errors: After running this command to find the cert store, I've hit a block, and still cannot find where I can install the certificate that would allow &lt;CODE&gt;Splunk &amp;gt; Python &amp;gt; OpenSSL&lt;/CODE&gt; instance to trust the certificate. I would not like to go the route of telling Splunk to ignore all cert errors.  The path /home/build, does not exist,&lt;/P&gt;

&lt;P&gt;Here is the connection test command:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;./splunk cmd openssl s_client -connect SITENAME:PORT | awk '/Protocol/ || /Cipher/ || /Verify/'
depth=2 C = US, O = "Entrust, Inc.", OU = See &lt;A href="https://community.splunk.com/www.entrust.net/legal-terms" target="test_blank"&gt;www.entrust.net/legal-terms&lt;/A&gt;, OU = "(c) 2012 Entrust, Inc. - for authorized use only", CN = Entrust Root Certification Authority - G3
verify error:num=19:self signed certificate in certificate chain
New, TLSv1/SSLv3, Cipher is ECDHE-RSA-AES128-GCM-SHA256
/opt/splunk/bin# ./splunk cmd python -c "import ssl;print(ssl.get_default_verify_paths())"
DefaultVerifyPaths(cafile=None, capath=None, openssl_cafile_env='SSL_CERT_FILE', openssl_cafile='/home/build/build-home/splunk-home/openssl/cert.pem', openssl_capath_env='SSL_CERT_DIR', openssl_capath='/home/build/build-home/splunk-home/openssl/certs')
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 02 Feb 2018 17:30:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Splunk-apps-How-do-you-resolve-certificate-verification-errors/m-p/371504#M9185</guid>
      <dc:creator>SplunkIT3337</dc:creator>
      <dc:date>2018-02-02T17:30:51Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk apps: How do you resolve certificate verification errors?</title>
      <link>https://community.splunk.com/t5/Security/Splunk-apps-How-do-you-resolve-certificate-verification-errors/m-p/371505#M9186</link>
      <description>&lt;P&gt;whats the solution for this problem?&lt;/P&gt;</description>
      <pubDate>Thu, 08 Nov 2018 15:15:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Splunk-apps-How-do-you-resolve-certificate-verification-errors/m-p/371505#M9186</guid>
      <dc:creator>rrthokala</dc:creator>
      <dc:date>2018-11-08T15:15:53Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk apps: How do you resolve certificate verification errors?</title>
      <link>https://community.splunk.com/t5/Security/Splunk-apps-How-do-you-resolve-certificate-verification-errors/m-p/371506#M9187</link>
      <description>&lt;P&gt;appended the cert information to cacert.pem in python lib to make it work.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Nov 2018 16:18:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Splunk-apps-How-do-you-resolve-certificate-verification-errors/m-p/371506#M9187</guid>
      <dc:creator>rrthokala</dc:creator>
      <dc:date>2018-11-08T16:18:09Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk apps: How do you resolve certificate verification errors?</title>
      <link>https://community.splunk.com/t5/Security/Splunk-apps-How-do-you-resolve-certificate-verification-errors/m-p/371507#M9188</link>
      <description>&lt;P&gt;version = 3.0.6&lt;BR /&gt;
decided to disable certificate verification as a workaround:&lt;BR /&gt;
edit $SPLUNK_HOME/etc/apps/Code42ForSplunk/bin/code42.py&lt;BR /&gt;
navigate to line 125 &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;"verify_certificate": True,
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;to &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;"verify_certificate": False,
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;SC says this is insecure, but an acceptable hack for now given our ultra-secure environment.  &lt;/P&gt;</description>
      <pubDate>Wed, 23 Jan 2019 01:17:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Splunk-apps-How-do-you-resolve-certificate-verification-errors/m-p/371507#M9188</guid>
      <dc:creator>georgen_splunk</dc:creator>
      <dc:date>2019-01-23T01:17:47Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk apps: How do you resolve certificate verification errors?</title>
      <link>https://community.splunk.com/t5/Security/Splunk-apps-How-do-you-resolve-certificate-verification-errors/m-p/526461#M11922</link>
      <description>&lt;P&gt;Any update to this?&lt;/P&gt;</description>
      <pubDate>Mon, 26 Oct 2020 13:38:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Splunk-apps-How-do-you-resolve-certificate-verification-errors/m-p/526461#M11922</guid>
      <dc:creator>spluzer</dc:creator>
      <dc:date>2020-10-26T13:38:26Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk apps: How do you resolve certificate verification errors?</title>
      <link>https://community.splunk.com/t5/Security/Splunk-apps-How-do-you-resolve-certificate-verification-errors/m-p/647790#M17050</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/214757"&gt;@rrthokala&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;appended the cert information to cacert.pem in python lib to make it work.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;where is this python lib located?&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jun 2023 13:30:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Splunk-apps-How-do-you-resolve-certificate-verification-errors/m-p/647790#M17050</guid>
      <dc:creator>makelovenotwar</dc:creator>
      <dc:date>2023-06-21T13:30:35Z</dc:date>
    </item>
  </channel>
</rss>

