py-https-test Testing ssl with python's built-in web server You will heve to generate your own server key with openssl req -nodes -new -x509 -keyout key.pem -out cert.pem or something like that.