This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import BaseHTTPServer | |
from SimpleHTTPServer import SimpleHTTPRequestHandler | |
import sys | |
import os | |
import base64 | |
import ssl | |
import SocketServer | |
key = "" | |
# generate cert with openssl req -new -x509 -keyout server.pem -out server.pem -days 365 -nodes |