Q:

SSL certificate problem when trying to open GeoJSON file

I'm getting the following error when trying to open a GeoJSON file in QGIS:

Data source is invalid (SSL certificate problem: self signed
  certificate in certificate chain)

Is this related to the page being https?  Is there a workaround to get the file downloaded locally?  I found a couple mentions of it possibly being a bug but no solution was given.  Normally I remove the 's' to make it unsecured and it works but in this instance it won't allow me.  
Query page
Query result

A:

I've been struggling with the same issue for the past 2 days. I have found the following solution:
Firstly, I added the below variables within QGIS -> Settings ->Options- > System-> Environment section. (It wasn't any immediate effect), but then I added them at System environmental variables (at OS system properties):
Variable Name: GDAL_HTTP_USERAGENT
Variable Value: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.36
Variable Name: GDAL_HTTP_UNSAFESSL
Variable Value: YES
Restart QGIS and them try to add the GeoJSON file link again.
I hope this helps.
Regards,
Ioana

