SSL with HTTPD Library?

Stephen MacLean smaclean at madmansoft.com
Thu Nov 1 23:05:07 EDT 2018


Hi Monte,

Not sure on this, or if it was implemented… I was the submitter on 16871.

I agree with your enhancement to the command, pretty similar to other implementations I’ve seen.

Best,

Steve MacLean

> On Nov 1, 2018, at 8:02 PM, Monte Goulding via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> 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
> 
> _______________________________________________
> 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