Figuring out how certificates work, with practical examples. The days I spent on this saved me a few hours of reading :)
It will probably help to know some docker basics. Hopefully this should suffice for the rest:
- nginx: a HTTP server / reverse-proxy
- openssl: a cryptography tool that can create certificates, and do many other things related to certificates and keys
- curl: a terminal-based HTTP client
Install docker.
If running in msys/windows, run source 00_init_env.sh
.
This project was developed on Windows, so that'll show in
the path names etc. Just be aware you may need to tweak
things a bit to run in other OSs.
Proceed through each numbered folder to see different server/auth etc. configurations. Each folder has a readme with details about what's happening.
- tldr version of all this for ppl like me
- proof-read all docs, test all scripts, rename stuff if needed (eg. 'certificate.crt')
- add pictures