解决 wget 使用 https 下载报错的问题

最近在一个 vps 上做 linux 开发,为了方便开发资料的同步,使用了 dropbox,其官网有命令行版本的安装方法,但是下载它的安装包需要使用 https 连接,在我这边的 debian 系统上会报一个错误:

ERROR: The certificate of `www.dropbox.com' is not trusted.

解决办法是修改安装脚本,给 wget 加一个参数即可

wget --no-check-certificate

 

posted @ 2015-01-08 18:05  intervention  阅读(2101)  评论(0编辑  收藏  举报