Showing results for 
Show  only  | Search instead for 
Did you mean: 

dynatrace-api / ExcelExport : SSL certificate problem: unable to get local issuer certificate

DynaMight Champion
DynaMight Champion

Hi guys,

When using (after adding the right url and token) got the follows error: "SSL certificate problem: unable to get local issuer certificate"

Any suggestions?


dynatrace certificated professional - dynatrace primer partner - Matrix Soft Ware Division - Israel

Dynatrace Guide
Dynatrace Guide

Hi Yos,

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
curl.setopt(pycurl.CAINFO,...) to set the path to an updated system CA bundle. You would add this right before line 24, c.perform(). Alternatively, it looks like you can utilize the python package certifi for an updated bundle local to python. Please reach back out if that doesn't work for you.

Best regards,

Lucas Hocker

Sales Engineer