Generating TLS certs for testing is difficult. Most guides have incomprehensible commands that require security knowledge to operate.
Cloudflare open-sourced their well-trusted Golang TLS library,
cloudflare/cfssl. It has sane defaults and is constantly updated with best practices.
We've compiled it to
to generate certs in your browser.
Here are some examples of doing mTLS in various languages.