override HTTPS certificate failure
Lyn Teyla
lyn.teyla at gmail.com
Tue Oct 25 11:18:11 EDT 2016
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