1

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

3

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

| improve this answer | |
  • This solution is same as using http directly as topicstarter wrote. You only disable secure in https. – Dmitry Baryshnikov Sep 9 '18 at 20:48
  • This worked, the key is adding the OS system environmental variables as well. Thanks Ioana. – brink Sep 13 '18 at 18:21
0

Try alternative installer of QGIS by NextGIS. This problem occurs in QGIS from qgis.org because of outdated openssl library. In NextGIS installer most of libraries are up to date.

Also you may see blogpost about new installer.

| improve this answer | |
  • I was hoping for at least a workaround instead of buying software. – brink Sep 6 '18 at 18:43
  • It's free. No need to buy anything exists in normal QGIS. Also you can install NextGIS QGIS near the QGIS. They not conflicting. – Dmitry Baryshnikov Sep 6 '18 at 20:18
0

I can run the query for layer "reference markers" on your page, I can't replicate the error, this is the url that points to the geojson that's generated from the query (you may Add-vector-layer>>protocol>>url in QGIS) is this what you are looking for?

| improve this answer | |
  • I can run the query, I can't get it to load in QGIS. Your link is invalid by the way. – brink Sep 11 '18 at 17:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.