Re: https server side

2015-05-27 Thread Rick Hanson
> Thank you all for your contributions! I quite agree. I really learned a lot from everyone's responses. Thanks! -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Re: https server side

2015-05-27 Thread Luis P. Mendes
Thank you all for your contributions! Luis 2015-05-27 9:03 GMT+01:00 Henrik Sarvell : > I do WSS via httpGate with a CA signed certificate, see this article under > the WSS section: http://picolisp.com/wiki/?Websockets > > On Wed, May 27, 2015 at 8:13 AM, Alexander Burger > wrote: >> >> On Wed,

Re: https server side

2015-05-27 Thread Henrik Sarvell
I do WSS via httpGate with a CA signed certificate, see this article under the WSS section: http://picolisp.com/wiki/?Websockets On Wed, May 27, 2015 at 8:13 AM, Alexander Burger wrote: > On Wed, May 27, 2015 at 07:25:59AM +0200, Alexander Burger wrote: > > The file holds a configuration for th

Re: https server side

2015-05-26 Thread Alexander Burger
On Wed, May 27, 2015 at 07:25:59AM +0200, Alexander Burger wrote: > The file holds a configuration for the servers to be started. > This is the part which still needs to be documented. Hmm, actually this is rather simple. Create a file with one server per line. For example, here some lines from

Re: https server side

2015-05-26 Thread Alexander Burger
On Wed, May 27, 2015 at 04:45:27AM +, Alexander Williams wrote: > My approach uses stunnel4, which is available on most *NIX systems. > > It launches an HTTPS listener on port 8443, and forwards to the regular > PicoLisp HTTP server on port 8080. The problem with tools like stunnel or nginx i

Re: https server side

2015-05-26 Thread Alexander Burger
Hi Luis, > that seems to imply that https/SSL has been implemented. > So my question, can a https server application be build in Picolisp > with a certificate signed by some CA? Yes. PicoLisp application servers may use the 'httpGate' proxy that comes with the distribution. For example, the demo

Re: https server side

2015-05-26 Thread Tomas Hlavaty
Hi Luis, PicoLisp comes with httpGate, which is a http and https proxy using openssl library. It is usually run on port 80 and proxies connections to PicoLisp processes. I don't remember the exact command line arguments. I don't use httpGate, but use nginx instead, see http://logand.com/blog/pi

Re: https server side

2015-05-26 Thread Alexander Williams
Hi Luis, My approach uses stunnel4, which is available on most *NIX systems. It launches an HTTPS listener on port 8443, and forwards to the regular PicoLisp HTTP server on port 8080. # https.l --- (de https-start () (call '/usr/bin/stunnel4 "stunnel.conf") ) (de https-stop () (call 'killal

https server side

2015-05-26 Thread Luis P. Mendes
Hi, I couldn't find anything about the support of https in server side in 'Picolisp by Example' and in 'Picolisp Works' books. But, there's a thread http://t8373.lisp-picolisp-general.lispforum.info/picolisp-ssl-problem-t8373-20.html that seems to imply that https/SSL has been implemented. So my