Page 1 of 1

libURLSetSSLVerification false on mobile?

Posted: Mon Sep 30, 2013 7:48 am
by malte
Hi,

as we do not have libURL on mobile, I'd best ask here what it would take to implement the SSLVerification flag for mobile. Is this doable at all? If so, what would be required to look at?

Cheers,

Malte

Re: libURLSetSSLVerification false on mobile?

Posted: Mon Sep 30, 2013 8:32 am
by monte
Given posting on this forum appears to be about as helpful as posting on the IDE forum at the moment you probably won't get a huge response. There's certainly a way in NSURLConnectionDelegate to do this...

Re: libURLSetSSLVerification false on mobile?

Posted: Mon Sep 30, 2013 9:58 am
by LCMark
Indeed and it seems stackoverflow suggests a method http://stackoverflow.com/questions/9333 ... usted-cert. Android I'm guessing will have a similar method available (at least I'd hope it would!).

Would be straightforward enough to implement libURLSetSSLVerification as a mobile command, that sets a flag for the mobile networking code to use...

Re: libURLSetSSLVerification false on mobile?

Posted: Mon Sep 30, 2013 11:12 am
by malte
That would be totally awesome. Given my limited Obj C / C skills, is there any way I could push this? Like raising funds or something like that?

Cheers,

Malte

Re: libURLSetSSLVerification false on mobile?

Posted: Wed Oct 02, 2013 11:28 pm
by monte
Looks like @runrevmark has implemented it

Re: libURLSetSSLVerification false on mobile?

Posted: Thu Oct 03, 2013 12:51 am
by malte
Whoa!!!

Makes my day. :-)

Re: libURLSetSSLVerification false on mobile?

Posted: Fri Oct 04, 2013 9:09 am
by LCMark
@malte: Indeed, I implemented it the other day in-between reviewing code and being overrun with questions on chat - 30 minutes of work took about 4 hours (it was one of those days) ;)

Since its required fiddling with the network code, I'll merge the feature into 6.5, so it will appear in the next dp of that version.

Re: libURLSetSSLVerification false on mobile?

Posted: Fri Oct 04, 2013 12:37 pm
by malte
This is so cool. Thanks so much.