Page 1 of 1

SSL https: issue

Posted: Wed Dec 19, 2012 2:17 am
by cusingerBUSCw5N
I have an app that sends info to a remote site. I recently converted the links to an https:// SSL site because clients may be concerned about security.

The Mac standalone no longer receives info from the remote site. The Windows version does, and the Mac development version does.

I checked the SSL setting for standalones...

I developed a test stack with just one button - and the Mac OS version doesn't work. I was thinking that maybe Mac doesn't use SSL - but it works on the development version on a Mac, so I don't know what gives.

Has anyone used SSL with Mac OS standalones?

Thanks

Re: SSL https: issue

Posted: Wed Dec 19, 2012 6:01 am
by Simon
This is something that is not in the documentation:
libUrlSetSSLVerification false
Just add that before your call to the URL. You would have to ask others about it's true meaning.

Simon

Re: SSL https: issue

Posted: Wed Dec 19, 2012 6:03 am
by dunbarx
Hi.

No idea, but do post this to the "Talking LiveCode" area. More chance of a quick reply there.

Craig Newman

Re: SSL https: issue

Posted: Wed Dec 19, 2012 6:34 am
by cusingerBUSCw5N
Simon - I believe you are a genius.

My first test - it works!

Thanks

Carolyn

Re: SSL https: issue

Posted: Wed Dec 19, 2012 6:54 am
by Simon
Glad it helped you.
No not a genius, I stand on the shoulders of LC giants.
libUrlSetSSLVerification as it's name suggests reduces one level of security . But the SSL encryption is still good.

Simon

Re: SSL https: issue

Posted: Thu Dec 20, 2012 4:39 am
by cusingerBUSCw5N
Looks like this solution works for Macintosh https - but breaks androids... It does work on Windows (although it isn't necessary) ..so I'm modifying the code to be

if the environment is "mobile" and the platform is "android" then
##do nothing
else
libUrlSetSSLVerification false
end if

Not sure what it does on IOS - so I may have to modify it more.. you need to test each platform to see if https needs this script to work.

Re: SSL https: issue

Posted: Thu Dec 20, 2012 12:01 pm
by Klaus
Hi Carolyn,

as the name "libUrlSetSSL..." suggests, tis is part of the internet library "LibURL"
which in only supported on the desktop, but NOT on the mobile platform!


Best

Klaus