wget 正在尝试连接 127.0.0.1,但它不起作用。是否可以在不更改我的 /etc/hosts
更改 /etc/hosts
会产生各种其他问题。
我正在运行 Debian 8,我得到:
错误:“example.com”的证书不受信任。
我想接受未签名证书的方法也可以。
非常感谢!
最佳答案
尝试使用 wget 的 --no-check-certificate 选项。
关于linux - wget 本地 HTTPS 站点?我可以设置 wget 应该用来连接到站点的 IP 吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42867383/