SSL https: issue
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 339
- Joined: Wed Jul 11, 2012 9:24 pm
SSL https: issue
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
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
-
- VIP Livecode Opensource Backer
- Posts: 3901
- Joined: Sat Mar 24, 2007 2:54 am
- Location: Palo Alto
Re: SSL https: issue
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
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!
-
- VIP Livecode Opensource Backer
- Posts: 9664
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: SSL https: issue
Hi.
No idea, but do post this to the "Talking LiveCode" area. More chance of a quick reply there.
Craig Newman
No idea, but do post this to the "Talking LiveCode" area. More chance of a quick reply there.
Craig Newman
-
- Posts: 339
- Joined: Wed Jul 11, 2012 9:24 pm
Re: SSL https: issue
Simon - I believe you are a genius.
My first test - it works!
Thanks
Carolyn
My first test - it works!
Thanks
Carolyn
-
- VIP Livecode Opensource Backer
- Posts: 3901
- Joined: Sat Mar 24, 2007 2:54 am
- Location: Palo Alto
Re: SSL https: issue
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
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!
-
- Posts: 339
- Joined: Wed Jul 11, 2012 9:24 pm
Re: SSL https: issue
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.
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
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
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