<?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: dynatrace-api / ExcelExport : SSL certificate problem: unable to get local issuer certificate in Extensions</title>
    <link>https://community.dynatrace.com/t5/Extensions/Dynatrace-API-SSL-certificate-problem-unable-to-get-local-issuer/m-p/51676#M173</link>
    <description>&lt;P&gt;&lt;BR /&gt;	Hi Yos,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;	From the PyCurl error in your screenshot it seems the local CA bundle python is using on your system is outdated.  If you try executing an API request from curl on the command line, does it work?  I did a quick internet search for "pycurl error 60" and the first few results point to using &lt;BR /&gt;	&lt;CODE&gt;curl.setopt(pycurl.CAINFO,...)&lt;/CODE&gt; to set the path to an updated system CA bundle.  You would add this right before line 24, &lt;CODE&gt;c.perform()&lt;/CODE&gt;.  Alternatively, it looks like you can utilize the python package &lt;A href="https://pypi.python.org/pypi/certifi"&gt;certifi&lt;/A&gt; for an updated bundle local to python.  Please reach back out if that doesn't work for you.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;	Best regards,&lt;BR /&gt;&lt;BR /&gt;Lucas Hocker&lt;BR /&gt;	&lt;BR /&gt;&lt;BR /&gt;Sales Engineer&lt;BR /&gt;	&lt;BR /&gt;&lt;BR /&gt;Dynatrace&lt;/P&gt;</description>
    <pubDate>Mon, 29 Jan 2018 15:22:07 GMT</pubDate>
    <dc:creator>lucas_hocker</dc:creator>
    <dc:date>2018-01-29T15:22:07Z</dc:date>
    <item>
      <title>Dynatrace API SSL certificate problem: unable to get local issuer certificate</title>
      <link>https://community.dynatrace.com/t5/Extensions/Dynatrace-API-SSL-certificate-problem-unable-to-get-local-issuer/m-p/51675#M172</link>
      <description>&lt;P&gt;Hi guys,&lt;/P&gt;
&lt;P&gt;When using &lt;A href="https://github.com/Dynatrace/dynatrace-api/blob/master/ExcelExport/dt-excel.py" target="_blank" rel="noopener"&gt;https://github.com/Dynatrace/dynatrace-api/blob/ma...&lt;/A&gt; (after adding the right url and token) got the follows error: "SSL certificate problem: unable to get local issuer certificate"&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://community.dynatrace.com/legacyfs/online/15622-smartscape2excel.jpg" border="0" /&gt;&lt;/P&gt;
&lt;P&gt;Any suggestions?&lt;/P&gt;
&lt;P&gt;Yos&lt;/P&gt;</description>
      <pubDate>Fri, 19 May 2023 07:27:53 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Dynatrace-API-SSL-certificate-problem-unable-to-get-local-issuer/m-p/51675#M172</guid>
      <dc:creator>Yosi_Neuman</dc:creator>
      <dc:date>2023-05-19T07:27:53Z</dc:date>
    </item>
    <item>
      <title>Re: dynatrace-api / ExcelExport : SSL certificate problem: unable to get local issuer certificate</title>
      <link>https://community.dynatrace.com/t5/Extensions/Dynatrace-API-SSL-certificate-problem-unable-to-get-local-issuer/m-p/51676#M173</link>
      <description>&lt;P&gt;&lt;BR /&gt;	Hi Yos,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;	From the PyCurl error in your screenshot it seems the local CA bundle python is using on your system is outdated.  If you try executing an API request from curl on the command line, does it work?  I did a quick internet search for "pycurl error 60" and the first few results point to using &lt;BR /&gt;	&lt;CODE&gt;curl.setopt(pycurl.CAINFO,...)&lt;/CODE&gt; to set the path to an updated system CA bundle.  You would add this right before line 24, &lt;CODE&gt;c.perform()&lt;/CODE&gt;.  Alternatively, it looks like you can utilize the python package &lt;A href="https://pypi.python.org/pypi/certifi"&gt;certifi&lt;/A&gt; for an updated bundle local to python.  Please reach back out if that doesn't work for you.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;	Best regards,&lt;BR /&gt;&lt;BR /&gt;Lucas Hocker&lt;BR /&gt;	&lt;BR /&gt;&lt;BR /&gt;Sales Engineer&lt;BR /&gt;	&lt;BR /&gt;&lt;BR /&gt;Dynatrace&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jan 2018 15:22:07 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Dynatrace-API-SSL-certificate-problem-unable-to-get-local-issuer/m-p/51676#M173</guid>
      <dc:creator>lucas_hocker</dc:creator>
      <dc:date>2018-01-29T15:22:07Z</dc:date>
    </item>
    <item>
      <title>Re: dynatrace-api / ExcelExport : SSL certificate problem: unable to get local issuer certificate</title>
      <link>https://community.dynatrace.com/t5/Extensions/Dynatrace-API-SSL-certificate-problem-unable-to-get-local-issuer/m-p/177936#M1880</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/32376"&gt;@lucas_hocker&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Had some time and changed the pycurl into requests and its works like a charm.&lt;/P&gt;&lt;P&gt;Also added the ability to send env id and token as parameters.&lt;/P&gt;&lt;P&gt;Python file is attached here as txt file&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Yos&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Dec 2021 10:25:41 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Extensions/Dynatrace-API-SSL-certificate-problem-unable-to-get-local-issuer/m-p/177936#M1880</guid>
      <dc:creator>Yosi_Neuman</dc:creator>
      <dc:date>2021-12-22T10:25:41Z</dc:date>
    </item>
  </channel>
</rss>

