- Products
- Learn
- Local User Groups
- Partners
- More
The Great Exposure Reset
24 February 2026 @ 5pm CET / 11am EST
CheckMates Fest 2026
Watch Now!AI Security Masters
Hacking with AI: The Dark Side of Innovation
CheckMates Go:
CheckMates Fest
Inspired by @HeikoAnkenbrand s excellent HTTPS Server for Smart Console Extensions,
I created a Python-based HTTPS web server that's simple, portable, and easy to customize.
A lightweight, self-contained HTTPS file server written in Python
that automatically generates self-signed SSL certificates
and serves files from a configurable directory.
The script leverages Python's built-in http.server and ssl modules
to create a secure web server. On first run, it:
files subdirectory for serving contentAll settings can be adjusted by modifying variables at the beginning of the script:
| Variable | Default Value | Description |
|---|---|---|
SERVER_PORT |
8443 | TCP port for HTTPS connections |
SERVER_ADDRESS |
0.0.0.0 | Bind address (0.0.0.0 = all network interfaces) |
SERVE_DIRECTORY |
files | Subdirectory for files to serve (relative to script) |
CERT_FILE |
server.crt | SSL certificate filename |
KEY_FILE |
server.key | Private key filename |
CERT_VALIDITY_DAYS |
365 | Certificate validity period in days |
Note: Make sure OpenSSL is added to your system PATH during installation!
Step 1: Save the script as https_fileserver.py
Step 2: Open a terminal/PowerShell in the script directory
Step 3: Run the server:
python https_fileserver.py
Step 4: Place files in the files subdirectory
Step 5: Access via browser at https://localhost:8443
This server is intended for personal and development use only!
Author: Vincent Bacher
Created with ❤️ for the CheckMates Community
January 2026
Inspired by
@HeikoAnkenbrand s excellent HTTPS Server for Smart Console Extensions,
I created a Python-based HTTPS web server that's simple, portable, and easy to customize.
A lightweight, self-contained HTTPS file server written in Python
that automatically generates self-signed SSL certificates
and serves files from a configurable directory.
The script le
About CheckMates
Learn Check Point
Advanced Learning
YOU DESERVE THE BEST SECURITY