https://github.com/sonnyyu/mtls-cert-manage
cd ~/mtls-cert-manage/pki
./server.sh
./client.sh
git clone https://github.com/sonnyyu/mtls-apache
cd mtls-apache
cd ~/mtls-cert-manage/pki/servercerts
cp * ~/mtls-apache/certs
cd ~/mtls-cert-manage/pki/clientcerts
cp * ~/mtls-apache/certs
cd ~/mtls-apache/certs
cp 192.168.1.204.crt 192.168.1.204.key ca.crt ~/mtls-apache/httpd/certs
cd ~/mtls-apache
docker-compose up -d
cd ~/mtls-apache
docker-compose down
cd ~/mtls-apache
docker-compose down -v
cd ~/mtls-apache/certs
curl --cert client1.crt --key client1.key --cacert ca.crt https://192.168.1.204
curl --cert-type P12 --cert client1.p12:p12pass --cacert ca.crt https://192.168.1.204
https://192.168.1.204