wget 本地 HTTPS 站点?我可以设置 wget 应该用来连接到站点的 IP 吗?
wget a local HTTPS site? Can I set the IP wget should use to connect to the site?
wget 正在尝试连接 127.0.0.1,但它不起作用。是否可以设置 wget 应该连接的 IP 地址而不更改我的 /etc/hosts
更改 /etc/hosts
会产生各种其他问题。
我是 运行 Debian 8,我得到:
ERROR: The certificate of ‘example.com’ is not trusted.
我想接受未签名证书的方法也可以。
非常感谢!
尝试使用 wget 的 --no-check-certificate 选项。
wget 正在尝试连接 127.0.0.1,但它不起作用。是否可以设置 wget 应该连接的 IP 地址而不更改我的 /etc/hosts
更改 /etc/hosts
会产生各种其他问题。
我是 运行 Debian 8,我得到:
ERROR: The certificate of ‘example.com’ is not trusted.
我想接受未签名证书的方法也可以。
非常感谢!
尝试使用 wget 的 --no-check-certificate 选项。