def get_ca_certs_path():
 CA_CERTS = ['/opt/datadog-agent/embedded/ssl/certs/cacert.pem', os.path.join(os.path.dirname(tornado.__file__), 'ca-certificates.crt'), '/etc/ssl/certs/ca-certificates.crt']
 for f in CA_CERTS:
  if os.path.exists(f):
   return f
 return None

def get_ca_certs_path ( ) : CA_CERTS = [ '/opt/datadog-agent/embedded/ssl/certs/cacert.pem' , os . path . join ( os . path . dirname ( tornado . __file__ ) , 'ca-certificates.crt' ) , '/etc/ssl/certs/ca-certificates.crt' ] for f in CA_CERTS : if os . path . exists ( f ) : return f return None
get a path to the trusted certificates of the system .