- This is a simple http file server to access your files via webbrowser.
- Python 3.10+
- run install.bat
- Good UI
- Lightweight
- SSL support
- Easy to use
python https-file-server
This script must be used with a certificate in order to work so, you need to generate one:
$cert = New-SelfSignedCertificate -Subject "localhost" -TextExtension @("2.5.29.17={text}DNS=localhost&IPAddress=127.0.0.1") -CertStoreLocation cert:\LocalMachine\My
$pwd = ConvertTo-SecureString -String "httpfileserver" -Force -AsPlainText
Export-PfxCertificate -Cert $cert -FilePath $env:userprofile\downloads\cert.pfx -Password $pwd
openssl pkcs12 -in cert.pfx -out cert.pem -nodes
After converting the certificate move it to the same directory as the script then run
python https-file-server.py