It compiles Cloudflare's cfssl down to WebAssembly to generate mTLS certs in the browser.
Generating mTLS certs and using them is more challenging than it needs to be.
make wasm
- builds the wasm binary that gets loaded in the browser.make dev-serve
- runs a simple python webserver for local dev, serving on port 8080.make test
- runs tests.make integration-build
andmake integration
- these test the sample code snippets, first serving and then using the client to hit the server.
- cfssl
- cfssl doesn't build for wasm, a dependency needs to be upgraded (PR)
- fork here: https://github.com/jchorl/cfssl