SSL with HTTPD Library?

Monte Goulding monte at appisle.net
Thu Nov 1 20:02:20 EDT 2018


As it’s not documented I’m not 100% sure it works or anyone has tried it but it seems at some point `accept secure connections` was implemented.

The syntax declaration for `accept` should be:

accept [{ secure | datagram }] connections on port <port> with message <message> [{ with | without } verification]

I can see for sure there is a bug meaning you can’t turn on verification using `with verification`.

Really I think the command would need further enhancement to add the optional:

with certificate <file path> and private key <file path>

That would presume the rest of the certificate chain is in the sslCertificates I think.

See reports:
https://quality.livecode.com/show_bug.cgi?id=13410 <https://quality.livecode.com/show_bug.cgi?id=13410>
https://quality.livecode.com/show_bug.cgi?id=16871 <https://quality.livecode.com/show_bug.cgi?id=16871>
https://quality.livecode.com/show_bug.cgi?id=13681

Cheers

Monte

> On 2 Nov 2018, at 8:38 am, Richard Gaskin via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> Stephen MacLean wrote:
> 
> > I’m looking to use the HTTPD library with an SSL Cert if possible.
> >
> > Is it possible?
> 
> AFAIK all of the HTTPd libs for LC/MC do not handle HTTPS.  It should be possible to fork one of them to add that, but the effort would be non-trivial.
> 
> What is the usage scenario you're aiming for?  Perhaps could be solved through some other means.
> 
> -- 
> Richard Gaskin
> Fourth World Systems
> Software Design and Development for the Desktop, Mobile, and the Web
> ____________________________________________________________________
> Ambassador at FourthWorld.com                http://www.FourthWorld.com
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the use-livecode mailing list