This project is an implementation simple for creating the mutual authentication "mTLS"
./build-key.sh init
./build-key.sh ca
./build-key.sh server
./build-key.sh client
docker build -t apache-mtls .
docker run -it --rm --name apache-mtls -p 8080:443 \
-v $(pwd)/apache/www:/var/www/html/itaupix-sp/public \
-v $(pwd)/apache/conf/httpd.conf:/usr/local/apache2/conf/httpd.conf \
-v $(pwd)/apache/conf/sites-enabled:/usr/local/apache2/conf/sites-enabled \
apache-mtls
- Importar Request mTLS.postman_collection.json no Postman
- Configure the client.crt and client.key in File -> Settings -> Certificates
@test! In port that has configured "8080".
=)