Video: https://youtu.be/EbbHKfE9AKY
sudo apt install libnss3-tools -y
wget https://github.com/FiloSottile/mkcert/releases/download/v1.4.4/mkcert-v1.4.4-linux-amd64
sudo cp mkcert-v1.4.4-linux-amd64 /usr/local/bin/mkcert
sudo chmod +x /usr/local/bin/mkcert
mkcert -install
mkcert -CAROOT
mkcert example.com "*.example.com" example.test localhost 127.0.0.1 ::1
sudo cp example.com+5.pem /usr/local/share/ca-certificates/example.com+5.crt
sudo update-ca-certificates
- UPDATE NGINX ssl_certificate
- UPDATE CHROME ssl_certificate