共计 219 个字符,预计需要花费 1 分钟才能阅读完成。
cp ./sunny.crt /usr/local/share/ca-certificates/
update-ca-certificates
export NODE_EXTRA_CA_CERTS=/etc/ssl/certs/sunny.pem
export NODE_TLS_REJECT_UNAUTHORIZED=0
参考:
https://blog.csdn.net/chushoutaizhong/article/details/82178511
正文完