loading a https page on OS X
paolo mazza
mazzapaoloitaly at gmail.com
Tue Nov 16 03:22:29 EST 2010
Thank you Trevor.
Using Rev 3.5 Mac IDE, I was able to load a page and make a Post from/to an
https server just downloading the certificate "cacert.pem" and inserting
this command:
*set* the sslCertificates to "cacert.pem"
However, I was not able to accomplish the same tasks using the Linux cgi
engine 3.5.
It looks like I was not able to upload the certificate.
I tryed:
*set* itemdelimiter to "/"
*put* the filename of this stack into ADDRESS1
*put* "cacert.pem" into last item of ADDRESS1
*set* the sslCertificates to ADDRESS1
and also
*set* itemdelimiter to "/"
*put* the filename of this stack into ADDRESS1
*put* "cacert.pem" into last item of ADDRESS1
*put* "file:" & ADDRESS1 into ADDRESS1
*set* the sslCertificates to URL ADDRESS1
Using both of these scripts, I got an error form the Https server, and I
guess that's because the Certificate issue.
How can I fix this?
All the best
Paolo Mazza
On Mon, Oct 4, 2010 at 3:47 PM, Trevor DeVore <lists at mangomultimedia.com>wrote:
> On Sun, Oct 3, 2010 at 1:25 PM, Klaus on-rev <klaus at major.on-rev.com>
> wrote:
>
> > I tried to load a page from an https server and got of course an
> > error because the user certicitate was not found.
> >
> > No username or password required for the site!
> >
> > the result was:
> > error -Error with certificate at depth: 0 issuer ...
> > ...
> > ...
> > err 20:unable to get local issuer certificate
> >
> > So since any internt browser can do this, my question is how can I do?
> >
> > Are there any "generic" certificates in some folder on the users hd that
> I
> > can
> > set "the sslcerificates" to?
> >
>
> Yes, grab the cert.pem file that curl publishes:
>
> http://curl.haxx.se/ca/cacert.pem
>
> Include it with your app and point the sslcerificates to it.
>
> Also, 4.5 has experimental support for loading SSL certs installed on the
> system. I haven't tested this yet but that may be a solution for you as
> well
> if you aren't using 4.5 yet.
>
> --
> Trevor DeVore
> Blue Mango Learning Systems
> ScreenSteps: http://www.screensteps.com
> Releasable Revolution Resources for Developers:
> http://revolution.bluemangolearning.com
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
More information about the use-livecode
mailing list