服务端编译需要go1.6+, 下载源码git clone https://github.com/inconshreveable/ngrok.git ngrok cd ngrok生成证书NGROK_DOMAIN="xxxx.com" openssl genrsa -out base.key 2048 openssl req -new -x509 -nodes -key base.key -days 10000 -subj "/CN=$NGROK_DOMAIN" -out base.pem openssl genrsa -out server.key 2048 openssl req -new -key server.key -subj "/CN=$NGROK_DOMAIN" -out server.csr openssl x509 -req -in server.csr -CA base.pem -CAkey base.key -CAcreateserial -days 10000 -out server.crt cp base.pem assets/client/tls/ngrokro
molezz
记录下那些感想