Skip to main content

HTTP server over SSL/TLS with an automatically generated self-signed certificate

Project description


HTTP server over SSL/TLS with an automatically generated self-signed certificate.


Serve static files from the current working directory:

$ https [-p/--port <NNNN>] [--public]

Example #1

By default, the server runs on port number 443, which requires superuser privileges. Note that the server will only be accessible from the localhost:

$ https

Example #2

To specify an alternative port number:

$ https --port 8443

Example #3

To make the server accessible from other devices:

$ https --public



$ pip install httpself

Source Code

Download the source code:

$ git clone

Install poetry:

$ curl -sSL | python

Install the module after download:

$ cd httpself/
$ poetry install

Use poetry to run the server:

$ poetry run https

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for httpself, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size httpself-0.1.0-py3-none-any.whl (4.7 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size httpself-0.1.0.tar.gz (3.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page