sudo apt update
sudo apt install golang-go
go install filippo.io/mkcert@latest
echo 'export PATH="$PATH:$(go env GOPATH)/bin"' >> ~/.bashrc
source ~/.bashrc
mkcert -install
mkcert pan.coolnet.com
根證書CA的位置: /root/.local/share/mkcert/rootCA.pem
終端裝置安裝pem
或者crt
根證書就可以了