DustMote-Snit is an extended version of the DustMote web server wrapped in a Snit type. It is developed as part of Tclssg.
It adds the following new features to DustMote:
Known bugs:
usage: ./dustmote-snit.tcl -root value ?-host localhost? ?-port 8080? ?-default index.html? ?-verbose 1? ?-dirlists 1? ?-certfile public.pem? ?-keyfile private.pem? ?-tls 0?
You can use the following shell command to generate a set of temporary SSL certificates with OpenSSL:
openssl req -x509 -newkey rsa:2048 -nodes -keyout private.pem -out public.pem -subj '/CN=localhost' -days 1
See https://github.com/tclssg/tclssg/tree/master/lib/dustmote-snit/ .