linux wget 没有认证? [英] linux wget not certified?

查看:37
本文介绍了linux wget 没有认证?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在我的全新服务器上执行一个简单的 wget,但出现此错误.我从来没有遇到过这样的事情 - 根本......

I'm trying to do a simple wget on my server that's brand new and I'm getting this error. I've never encountered anything like this - at all...

[root@ip-219-140 ~]# wget https://dl.dropboxusercontent.com/u/60455970/litecoin-0.6.3c-linux.tar.gz
--10:11:52--  https://dl.dropboxusercontent.com/u/60455970/litecoin-0.6.3c-linux.tar.gz
Resolving dl.dropboxusercontent.com... 54.243.119.191
Connecting to dl.dropboxusercontent.com|54.243.119.191|:443... connected.
ERROR: cannot verify dl.dropboxusercontent.com's certificate, issued by `/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert High Assurance CA-3':
  Unable to locally verify the issuer's authority.
To connect to dl.dropboxusercontent.com insecurely, use `--no-check-certificate'.
Unable to establish SSL connection.

推荐答案

解决根本问题而不是--no-check-certificate".

Solve the underlying problem instead of "--no-check-certificate".

在某些 Ubuntu 版本(肯定是 14.04 服务器)上,wget 和 openssl 是使用/usr/lib/ssl/certs 中的默认 CA 存储区编译的,而不是/etc/ssl/certs 中实际存在的证书.

On some Ubuntu versions (14.04 server for sure) wget and openssl are compiled with default CA store in /usr/lib/ssl/certs instead of /etc/ssl/certs where actually certs are present.

通过符号链接修复:

sudo mkdir -p /usr/lib/ssl
sudo ln -s /etc/ssl/certs /usr/lib/ssl/certs

这篇关于linux wget 没有认证?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆