<div dir="ltr">the main problem is that Windows have only a limited list of thrusted CAs in a default installation. Thrusted CA are added atuomatically through a remote query to some m$ service when you browse an URl with a WinApi capable browser... eg. Explorer (end if I remember well also WinApi)<div>So the only way is to "hide" this underground handshake using a adhoc win code using WinApi to load CA or using (if it works) CURL.</div><div><br></div><div>So the anwer is... not so simple, and you should thrust the M$ service that thrust the CAs. No idea what is the best solution.</div><div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Luigi Pirelli<br><br>**************************************************************************************************<br>* LinkedIn: <a href="https://www.linkedin.com/in/luigipirelli" target="_blank">https://www.linkedin.com/in/luigipirelli</a><br>* Stackexchange: <a href="http://gis.stackexchange.com/users/19667/luigi-pirelli" target="_blank">http://gis.stackexchange.com/users/19667/luigi-pirelli</a><br>* GitHub: <a href="https://github.com/luipir" target="_blank">https://github.com/luipir</a><br>* Mastering QGIS 2nd Edition:<br>* <a href="https://www.packtpub.com/big-data-and-business-intelligence/mastering-qgis-second-edition" target="_blank">https://www.packtpub.com/big-data-and-business-intelligence/mastering-qgis-second-edition</a><br>* Hire me: <a href="http://goo.gl/BYRQKg" target="_blank">http://goo.gl/BYRQKg</a><br>**************************************************************************************************</div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, 29 Oct 2018 at 11:37, Guy Doulberg <<a href="mailto:guyd@satellogic.com">guyd@satellogic.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><div>Hi <br></div><div><br></div><div>I am working on a project that releases big raster imagery, <br></div><div><br></div><div>I am trying to create a product that can be used in qgis. <br></div><div><br></div><div>The product I had in mind is a raster (VRT) served from the an https endpoint referred by local vrt file <br></div><div><br></div><div>I think the issue is relevant to anyone using "/vsicurl/https://..." rasters or even vectors not only vrt. <br></div><div><br></div><div>I tested this product on my 3.4 and 2.18 qgis on linux and it worked with no problem <br></div><div><br></div><div>But then I tested in on qgis 2.18 and 3.4 on Windows and it turned out there were the following failures:</div><div><br></div><div>SSL certificate problem: unable to get local issuer certificate</div><div><br></div><div>It can be fixed by setting <code>CURL_CA_BUNDLE <span style="font-family:arial,helvetica,sans-serif">to a certificate bundle either I downloaded from Mozilla site or from the OS itself</span>.</code></div><div><code><br></code></div><div><span style="font-family:arial,helvetica,sans-serif"><code>Can you think of A more elegant solution? I don't like the idea that I will need to tell my users to hassle with these settings</code></span></div><div><span style="font-family:arial,helvetica,sans-serif"><code><br></code></span></div><div><code><span style="font-family:arial,helvetica,sans-serif">And I don't like the idea of using http, to the data of those products. </span><br></code></div><div><span style="font-family:arial,helvetica,sans-serif"><code><br></code></span></div><div><code><span style="font-family:arial,helvetica,sans-serif">Maybe that is more a request for the qgis-dev mailing list, but is there a way to compile qgis with gdal that already has all the certificates authorities? </span><br></code></div><div><code><br></code></div><div><code><span style="font-family:arial,helvetica,sans-serif">Thanks, Guy</span><br></code></div><div><code><br></code></div></div></div>
_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a></blockquote></div>