SSL https: issue

Deploying to Mac OS? Ask Mac OS specific questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
cusingerBUSCw5N
Posts: 339
Joined: Wed Jul 11, 2012 9:24 pm

SSL https: issue

Post by cusingerBUSCw5N » Wed Dec 19, 2012 2:17 am

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

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am
Location: Palo Alto

Re: SSL https: issue

Post by Simon » Wed Dec 19, 2012 6:01 am

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
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9664
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: SSL https: issue

Post by dunbarx » Wed Dec 19, 2012 6:03 am

Hi.

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

Craig Newman

cusingerBUSCw5N
Posts: 339
Joined: Wed Jul 11, 2012 9:24 pm

Re: SSL https: issue

Post by cusingerBUSCw5N » Wed Dec 19, 2012 6:34 am

Simon - I believe you are a genius.

My first test - it works!

Thanks

Carolyn

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am
Location: Palo Alto

Re: SSL https: issue

Post by Simon » Wed Dec 19, 2012 6:54 am

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
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

cusingerBUSCw5N
Posts: 339
Joined: Wed Jul 11, 2012 9:24 pm

Re: SSL https: issue

Post by cusingerBUSCw5N » Thu Dec 20, 2012 4:39 am

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.

Klaus
Posts: 13829
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: SSL https: issue

Post by Klaus » Thu Dec 20, 2012 12:01 pm

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

Post Reply

Return to “Mac OS”