Created
          May 21, 2015 19:09 
        
      - 
      
- 
        Save 0xBADCA7/41f3ece467204b799b79 to your computer and use it in GitHub Desktop. 
Revisions
- 
        0xBADCA7 created this gist May 21, 2015 .There are no files selected for viewingThis file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,9 @@ #!/usr/bin/env python3 from http.server import HTTPServer,SimpleHTTPRequestHandler from socketserver import BaseServer import ssl httpd = HTTPServer(('localhost', 1443), SimpleHTTPRequestHandler) httpd.socket = ssl.wrap_socket (httpd.socket, certfile='certificate.pem', keyfile='privatekey.pem', server_side=True) httpd.serve_forever()