The ssl library again

Dar Scott dsc at swcp.com
Thu May 25 16:06:44 EDT 2006


On May 25, 2006, at 11:12 AM, Mark Smith wrote:

> libUrlSetSSLVerification false -- or I simply get certificate errors
> put "https://securesrveicename.wsdl" into tURL
> put URL tURL into fld "Response"
>
> simply times out,
>
> while using the shell 'curl'
>
> put "https://securesrveicename.wsdl" into tURL
> get shell("curl" && tURL)
> put it into fld "response"
>
> gets the wsdl reliably, so the problem must surely be with the  
> library, or at least libUrl, I think.

I did a quick check of using https with 'libUrlSetSSLVerification  
false' and got a timeout error the first time (or maybe two) but got  
results after that.  Maybe the timeout is too short.

You might want to check the certificate.  If the certificate is self- 
signed or signed by a private CA, then you need to get the public  
cert for the site.  If it is signed by a public CA, then you need to  
find a rood cert.  Whichever, you need to point to the file by  
putting the path into the sslCertificates.

For some reason libUrlSetSSLVerification is not in the dictionary of  
the version of Rev I have up.  Maybe it is not officially supported.   
But it is here:

    http://support.runrev.com/resources/liburlrealdocs.html

What it does is very simple.

It might be that the server is also expecting a certificate from the  
client and for some reason that creates a timeout error.  Yet curl  
works, so that is not likely.


Dar Scott



More information about the use-livecode mailing list