<?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 to get Splunk Python on CentOS to use SSL/Crypto? in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/How-to-get-Splunk-Python-on-CentOS-to-use-SSL-Crypto/m-p/310054#M4142</link>
    <description>&lt;P&gt;This did it for me too, but I still needed to do an: "export LD_LIBRARY_PATH=/opt/splunk/lib" to make it finally work!!!!.&lt;/P&gt;

&lt;P&gt;However, great answer; I am not able to award points otherwise I would have done it!&lt;/P&gt;</description>
    <pubDate>Wed, 30 Sep 2020 02:52:17 GMT</pubDate>
    <dc:creator>mhergh</dc:creator>
    <dc:date>2020-09-30T02:52:17Z</dc:date>
    <item>
      <title>How to get Splunk Python on CentOS to use SSL/Crypto?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-get-Splunk-Python-on-CentOS-to-use-SSL-Crypto/m-p/310051#M4139</link>
      <description>&lt;P&gt;It seems Splunk's Python on CentOS 7.2 does not have SSL support.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;[root@splunk-test bin]# ./python
Python 2.7.11 (default, Jan  5 2017, 01:46:57) 
[GCC 5.3.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
&amp;gt;&amp;gt;&amp;gt; import _ssl
Traceback (most recent call last):
  File "&amp;lt;stdin&amp;gt;", line 1, in &amp;lt;module&amp;gt;
ImportError: libssl.so.1.0.0: cannot open shared object file: No such file or directory
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I also get crypto errors from _hashlib&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;[root@splunk-test bin]# ldd /opt/splunk/lib/python2.7/lib-dynload/_hashlib.so
    linux-vdso.so.1 =&amp;gt;  (0x00007fffaf3f2000)
    libssl.so.1.0.0 =&amp;gt; not found
    libcrypto.so.1.0.0 =&amp;gt; not found
    libpthread.so.0 =&amp;gt; /lib64/libpthread.so.0 (0x00007f7e85bb5000)
    libc.so.6 =&amp;gt; /lib64/libc.so.6 (0x00007f7e857f4000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f7e85de0000)
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;This does not seem to be an issue on Ubuntu.&lt;/P&gt;
&lt;P&gt;Any tips on how to get Splunk's python using ssl/crypto?&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sun, 07 Jun 2020 18:48:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-get-Splunk-Python-on-CentOS-to-use-SSL-Crypto/m-p/310051#M4139</guid>
      <dc:creator>user4455</dc:creator>
      <dc:date>2020-06-07T18:48:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Splunk Python on CentOS to use SSL/Crypto?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-get-Splunk-Python-on-CentOS-to-use-SSL-Crypto/m-p/310052#M4140</link>
      <description>&lt;P&gt;I don't think you were running under the Splunk python context.&lt;/P&gt;

&lt;P&gt;If you are in a full Splunk install under linux with default location try something like&lt;BR /&gt;
/opt/splunk/bin/splunk cmd python&lt;/P&gt;

&lt;P&gt;Then import ssl.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Feb 2017 16:58:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-get-Splunk-Python-on-CentOS-to-use-SSL-Crypto/m-p/310052#M4140</guid>
      <dc:creator>starcher</dc:creator>
      <dc:date>2017-02-17T16:58:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Splunk Python on CentOS to use SSL/Crypto?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-get-Splunk-Python-on-CentOS-to-use-SSL-Crypto/m-p/310053#M4141</link>
      <description>&lt;P&gt;That did it, thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 17 Feb 2017 17:02:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-get-Splunk-Python-on-CentOS-to-use-SSL-Crypto/m-p/310053#M4141</guid>
      <dc:creator>user4455</dc:creator>
      <dc:date>2017-02-17T17:02:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Splunk Python on CentOS to use SSL/Crypto?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-get-Splunk-Python-on-CentOS-to-use-SSL-Crypto/m-p/310054#M4142</link>
      <description>&lt;P&gt;This did it for me too, but I still needed to do an: "export LD_LIBRARY_PATH=/opt/splunk/lib" to make it finally work!!!!.&lt;/P&gt;

&lt;P&gt;However, great answer; I am not able to award points otherwise I would have done it!&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 02:52:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-get-Splunk-Python-on-CentOS-to-use-SSL-Crypto/m-p/310054#M4142</guid>
      <dc:creator>mhergh</dc:creator>
      <dc:date>2020-09-30T02:52:17Z</dc:date>
    </item>
  </channel>
</rss>

