<?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 REST API (rest_ta) SSL Error 20 Not a Directory in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/REST-API-rest-ta-SSL-Error-20-Not-a-Directory/m-p/429356#M75218</link>
    <description>&lt;P&gt;I am using the rest_ta app (&lt;A href="https://splunkbase.splunk.com/app/1546/"&gt;https://splunkbase.splunk.com/app/1546/&lt;/A&gt;).&lt;/P&gt;

&lt;P&gt;However, I have realized this application, by default, has SSL verify set to false.&lt;/P&gt;

&lt;P&gt;I was creating a custom response handler for this app and kept receiving an SSL error 20 Not a Directory when my custom handler used the requests.get call and I did not set verify=False. Since I don't want to write code that leaves me open to a MITM attack, can anyone provide a solution? Or at least an explanation?&lt;/P&gt;

&lt;P&gt;FYI: The error occurs no matter what HTTPS endpoint is called so its not an issue of the endpoint using a self signed certificate. Also, there is no "Enterprise MITM" proxy as I have confirmed the certificate chain using OpenSSL.&lt;/P&gt;</description>
    <pubDate>Tue, 06 Aug 2019 18:53:25 GMT</pubDate>
    <dc:creator>scoughlin1</dc:creator>
    <dc:date>2019-08-06T18:53:25Z</dc:date>
    <item>
      <title>REST API (rest_ta) SSL Error 20 Not a Directory</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/REST-API-rest-ta-SSL-Error-20-Not-a-Directory/m-p/429356#M75218</link>
      <description>&lt;P&gt;I am using the rest_ta app (&lt;A href="https://splunkbase.splunk.com/app/1546/"&gt;https://splunkbase.splunk.com/app/1546/&lt;/A&gt;).&lt;/P&gt;

&lt;P&gt;However, I have realized this application, by default, has SSL verify set to false.&lt;/P&gt;

&lt;P&gt;I was creating a custom response handler for this app and kept receiving an SSL error 20 Not a Directory when my custom handler used the requests.get call and I did not set verify=False. Since I don't want to write code that leaves me open to a MITM attack, can anyone provide a solution? Or at least an explanation?&lt;/P&gt;

&lt;P&gt;FYI: The error occurs no matter what HTTPS endpoint is called so its not an issue of the endpoint using a self signed certificate. Also, there is no "Enterprise MITM" proxy as I have confirmed the certificate chain using OpenSSL.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Aug 2019 18:53:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/REST-API-rest-ta-SSL-Error-20-Not-a-Directory/m-p/429356#M75218</guid>
      <dc:creator>scoughlin1</dc:creator>
      <dc:date>2019-08-06T18:53:25Z</dc:date>
    </item>
  </channel>
</rss>

