twistd --nodaemon web --path=. -c snakeoil.crt -k snakeoil.key --https=8443
openssl genrsa -passout pass:dummy -out snakeoil.secure.key 1024 openssl rsa -passin pass:dummy -in snakeoil.secure.key -out snakeoil.key openssl req -new -subj "/commonName=localhost" -key snakeoil.key -out snakeoil.csr openssl x509 -req -days 36500 -in snakeoil.csr -signkey snakeoil.key -out snakeoil.crt
cat /etc/certs/ssl-cert-snakeoil.pem \ /etc/priv/ssl-cert-snakeoil.key >> \ /etc/priv/ssl-cert-and-key-snakeoil.pem chmod og-rwx /etc/priv/ssl-cert-and-key-snakeoil.pem #note instructions above on how to generate a fresh #self-signed cert python3 -m http.server 8000 & stunnel -p /etc/ssl/private/ssl-cert-and-key-snakeoil.pem -r 8000 -d 4430
rm snakeoil.secure.key snakeoil.csr
Web speech API: http://updates.html5rocks.com/2013/01/Voice-Driven-Web-Apps-...