This configuration will setup an Nginx server that requires a valid client certificate for mutual tls. We'll cover some basic certificate setup, the nginx config, and some openssl conversions for browser certificate import.
openssl genrsa -out ca.key 4096
openssl req -new -x509 -key ca.key -out ca.crt