Archive for December, 2013

HooooH now is ssl enabled

Monday, December 23rd, 2013

Ok my home automation has https support now. Tornado is a breeze when it comes to configuring ssl support.

Created personal certs
openssl genrsa -out ca.key 4096
openssl req -new -x509 -days 1826 -key ca.key -out ca.crt

Added couple of lines in
"certfile": os.path.join("/home/pi/hooooh", "ca.crt"),
"keyfile": os.path.join("/home/pi/hooooh", "ca.key"),

Enabled secure web sockets by repointing URL to “wss”

And Tadaaa!!!

https working

Posted in Home automation |

Content Protected Using Blog Protector By: PcDrome.