Skip to content

Instantly share code, notes, and snippets.

View nathanqthai's full-sized avatar

n8 nathanqthai

View GitHub Profile
@nathanqthai
nathanqthai / readme.txt
Last active May 19, 2024 01:22
simple tornado server with ssl
to generate example certs
openssl req -x509 -nodes -days 365 -newkey rsa:1024 -keyout host.key -out host.crt
run server:
chmod +x server.py
./server.py
test server:
openssl s_client -connect localhost:8888