Small utility to simply record at which point in time which Boulder version was deployed.
A live version of this can be found on my site: https://germancoding.com/boulder-version-history/
To build this program, you'll need:
- Rust + Cargo (https://rustup.rs/)
- If compiling under Linux: OpenSSL + OpenSSL development headers (see this)
- build-essential/native compiler (probably?)
Then, simply run cargo build --release
to build the program (Cargo builds to the ./target
directory).
./le_version_info file.json https://acme-v02.api.letsencrypt.org/build
Note that file.json must already exist and must contain a valid JSON array (empty is fine).
echo "[]" > file.json
Each invocation tries to contact the given URL, treating the output as a build. The JSON file is then updated accordingly. You'll probably need to run this periodically to be useful.
The web
directory hosts the website that can be used as an example frontend
for this tool and is also what is running on my hosted version of this tool.
Too bootstrap this, you need to fetch a few dependencies, which can be done
automatically using the WEB_DEPENDENCY_DOWNLOAD.sh
script
(requires a POSIX-compatible shell and wget). You will also need to ensure
that the web frontend can access the files generated by the tool
(the frontend expects files prod.json
and staging.json
respectively).