Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

README.md

python3HTTPSAuthServer

It's SimpleHTTPServer, with python3 facial hair! Supports:

  • HTTP Basic AUTH [username:pass]
  • HTTPS encryption
  • Self-generates self-signed certificate, or you can bring your own

usage: python3HTTPSAuthServer.py [-h] [-i IP] [-p PORT] [-a AUTH] [-s] [-c CERT] [-k PRIVATEKEY]

Python HTTPS Auth Server

optional arguments:
-h, --help show this help message and exit
-i IP, --ip IP Bind IP (Default all interfaces 0.0.0.0)
-p PORT, --port PORT Bind port, default 8443
-a AUTH, --auth AUTH HTTP BASIC auth [username:password]
-s, --https Use HTTPS
-c CERT, --cert CERT If you brought your own CERT, then by all means... [fullpath]
-k PRIVATEKEY, --privatekey PRIVATEKEY If you brought your own PRIVATE_KEY, then by all means... [fullpath]

Install using pip3:

sudo python3 -m pip install python3HTTPSAuthServer

Run the familiar way

python3 -m python3HTTPSAuthServer

Get Help

python3 -m python3HTTPSAuthServer -h

HTTPS via JIT self-signed certificate and HTTP Basic AUTH, port 443:

python3 -m python3HTTPSAuthServer -https -auth 'benzo:qu4rantyne!' -i 192.168.56.110 -p 443

About

Python3-based http.server supporting Basic AUTH and HTTPS; it's SimpleHTTPServer with python3 facial hair!

Topics

Resources

License

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.