<p dir="ltr">To be honest. I would open an ssh tunnel.<br>
That is all you need for encryption and authentification. As soon as the tunnel exist you can stream the data without the bloat of http.</p>
<p dir="ltr"><a href="http://stackoverflow.com/questions/5589971/how-to-easily-establish-an-ssh-connection-in-qt">http://stackoverflow.com/questions/5589971/how-to-easily-establish-an-ssh-connection-in-qt</a></p>
<p dir="ltr">I think ssh lib is also available on jolla...</p>
<p dir="ltr">All the Best<br>
Peter<br>
The Lord of noobs</p>
<br><div class="gmail_quote"><div dir="ltr">juice <<a href="mailto:juice@swagman.org">juice@swagman.org</a>> schrieb am Do., 20. Aug. 2015 18:47:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Oleksii Serdiuk kirjoitti 2015-08-20 16:34:<br>
> Hi Juice,<br>
><br>
> As far as I understand, you have a control to install HTTPS<br>
> certificates on the server where the requests are sent?<br>
><br>
><br>
> In this case, you have two options:<br>
><br>
>   1. Install a trusted SSL certificate on your server.<br>
><br>
>   2. Generate your own self-signed certificate and mark it as<br>
>      trusted in your application.<br>
><br>
<br>
<br>
Hi Oleksii, and thanks for your comments!<br>
<br>
Unfortunately the use case of my application is such that likely<br>
neither of the options is possible.<br>
<br>
It is necessary for each user of the application to host her own server<br>
or at least the service where the application data is gathered.<br>
(The server end that I am using is a small node.js application that<br>
  collects the location data and gives it to the application when it<br>
  requests location data)<br>
<br>
So if certificates need to be used, then there would be need for some<br>
kind of certificate lifecycle management in the application, so that<br>
each user could install her own certificates to match the certificate<br>
of the server end.<br>
<br>
<br>
--<br>
    - Juice -<br>
<br>
_______________________________________________<br>
SailfishOS.org Devel mailing list<br>
To unsubscribe, please send a mail to <a href="mailto:devel-unsubscribe@lists.sailfishos.org" target="_blank">devel-unsubscribe@lists.sailfishos.org</a><br>
</blockquote></div>