<div dir="ltr">On Fri, Nov 8, 2013 at 7:26 PM, Tigre-Bleu <span dir="ltr"><<a href="mailto:devel@tigre-bleu.net" target="_blank">devel@tigre-bleu.net</a>></span> wrote:<div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<br>
<br>
The open() function of XMLHttpRequest seems to not work with auto signed ssl certificates. I have checked with valid certificates and there is no problem.<br>
<br>
Is this the expected behavior? If so how am I supposed to fetch some data from an auto signed https page using QML?<br>
<br>
Thanks,<br>
<br>
Antoine<br></blockquote><div><br></div><div>Hi Antoine,<br><br>I cannot confirm it without diving into the implementation, but i believe the behavior of XHR you are seeing is reasonable from a security point of view - the alternative could be to prompt the user for confirmation. </div>
</div>As an alternative you could construct the connection with QNetwork classes from the C++ side (the QSslConfiguration class should have a method to add a new CA to the list of those accepted).<br><br clear="all"><div>
Regards,</div>-- <br>Gianni Vialetto<br>
</div></div>