wget:Unable to establish SSL connection.的解决方法

今天下载nodejs源码的时候出现错误:

wget https://nodejs.org/dist/v11.2.0/node-v11.2.0.tar.gz
--2018-11-23 02:43:36--  https://nodejs.org/dist/v11.2.0/node-v11.2.0.tar.gz
Resolving nodejs.org (nodejs.org)... 104.20.23.46, 104.20.22.46, 2606:4700:10::6814:162e, ...
Connecting to nodejs.org (nodejs.org)|104.20.23.46|:443... connected.
Unable to establish SSL connection.

解决方法

加上跳过验证证书的参数“--no-check-certificate

wget --no-check-certificate https://nodejs.org/dist/v11.2.0/node-v11.2.0.tar.gz

Post Comment