override HTTPS certificate failure

Ben Rubinstein benr_mc at cogapp.com
Tue Oct 25 11:32:08 EDT 2016


Thanks Lyn, that's exactly what I needed!

I should have spotted it myself in the dictionary, but failed.

Many thanks,

Ben

On 25/10/2016 16:18, Lyn Teyla wrote:
> Ben Rubinstein wrote:
>
>> If an "https" site has a misconfigured certificate, most browsers will tell you what the problem is - and generally give you an option (more or less hidden) to ignore the warning and load the resource anyway.
>>
>> Loading the same resource from LC using libURL, the result is "error application verification failure".
>>
>> Is there any way to override the normal test in LC, as one can in a browser, to request that the resource be returned anyway?
>
> With libURL you’d use:
>
> libURLSetSSLVerification false
>
> With tsNet you’d use:
>
> tsNetVerifySSLPeer false
>
> Remember to leave it set to true for production, though. Otherwise, malicious parties could intercept data transmissions whilst presenting their own fake certificates, negating the whole point of encrypting data in transit.
>
> Lyn :)




More information about the use-livecode mailing list