Page 1 of 1

Did LiveCode Server Support HTTPS(SSL)??

Posted: Sun Jul 26, 2015 5:35 am
by hedgehao
I want to make a HTTPS request to call a web service in my server script like this

Code: Select all

put URL("[HTTPS URL Here]") into tResult
I've tested this script in LiveCode IDE environment and it works fine. But when I tested on LC server, tResult shows "error Protocol https not supported or disabled in libcurl" or "couldn't configure ssl". I did setup ssl certification for my server. So, I'm wondering if livecode server can support https request? Or I did miss something?

Thanks,
HedgeHao

Re: Did LiveCode Server Support HTTPS(SSL)??

Posted: Sun Jul 26, 2015 4:59 pm
by ghettocottage
I recall having some issue with an https address, but I am not sure if it was the same error message.

Had to do this before setting the URL :

Code: Select all

   libURLSetSSLVerification false
    put URL("[HTTPS URL Here]") into tResult

Re: Did LiveCode Server Support HTTPS(SSL)??

Posted: Tue Jul 28, 2015 7:47 am
by Peter Wood
This is a bug that is currently being fixed - http://quality.runrev.com/show_bug.cgi?id=15162

Re: Did LiveCode Server Support HTTPS(SSL)??

Posted: Tue Jul 28, 2015 3:47 pm
by hedgehao
Thanks hettocottage,

Your suggestion works :)

Peter, thanks for your information, too.