https://github.com/superilu/httpdos
Simple TLS capable HTTP server for MS-DOS
https://github.com/superilu/httpdos
freedos https ms-dos msdos tls
Last synced: 15 days ago
JSON representation
Simple TLS capable HTTP server for MS-DOS
- Host: GitHub
- URL: https://github.com/superilu/httpdos
- Owner: SuperIlu
- License: bsd-3-clause
- Created: 2023-08-06T12:31:09.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-14T15:41:42.000Z (11 months ago)
- Last Synced: 2025-03-29T02:12:11.798Z (about 1 month ago)
- Topics: freedos, https, ms-dos, msdos, tls
- Language: C
- Homepage:
- Size: 8.29 MB
- Stars: 27
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# HTTPS Webserver for MS-DOS
This is a minimal HTTPS capable webserver for MS-DOS.It is not in real working condition, it creates a "double fault" when exiting with CTRL-C (I guess some DOS memory is corrupted when running).
HTTP code was taken from https://github.com/starnight/MicroHttpServer
TLS is provided by https://github.com/Mbed-TLS/mbedtls
TCP/IP stack is https://www.watt-32.net/
INI file reading is provided by https://github.com/rxi/ini## Quick start
- Run some kind of DOS (MS-DOS, FreeDOS, ???)
- Extract the release ZIP file to e.g. `C:\HTTPDOS`
- Load a packet driver for your network card (Packet drivers can e.g. be found on packetdriversdos.net or on crynwr.com or www.georgpotthast.de)
- Change to `C:\HTTPDOS` and run `HTTPDOS.EXE`
- Watch the output for the IP-address (the default `WATTCP.CFG` uses DHCP)
- Connect to `https:///`
- Allow the browser to connect to a site with a self-signed certificate
- Be amazed :)## Configuration
See `HTTPDOS.INI` for an example configuration.## Self signed certificate
You need to provide matching TLS/SSL certificates in order to run the server.
Self signed certificates can be generated using `genkeys.sh`.`genkeys.sh`, `cert.conf` and `csr.conf` were created following https://devopscube.com/create-self-signed-certificates-openssl/
## NOISE.SYS
A random number generator can be obtained here: https://github.com/robrwo/noise.sys## License
Micro HTTP Server's code uses the BSD license, so httpDOS uses the same license. See LICENSE.md file.