ssl - wget 命令 SSL3_CHECK_CERT_AND_ALGORITHM :dh key too small 有问题

标签 ssl wget solaris

我想检查一个 ssl url,但是当我使用命令时:

/usr/sfw/bin/wget --no-check-certificate --secure-protocol=SSLv3 https://url

我得到这个错误:

--2018-10-01 12:11:19--  https://url
Connecting to #:443... connected.
OpenSSL: error:14082174:SSL routines:ssl3_check_cert_and_algorithm:dh key too small
Unable to establish SSL connection.

是否可以跳过此控件?我使用:基于 solaris2.10 构建的 GNU Wget 1.18。 谢谢

最佳答案

这里有一个简单的 wget 解决方法:使用 wget --cipher 'DEFAULT:!DH' 代替 wget

我暂时将以下内容放入我的 .aliases 中:

alias wget="wget --cipher 'DEFAULT:!DH' "

关于ssl - wget 命令 SSL3_CHECK_CERT_AND_ALGORITHM :dh key too small 有问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52588948/

相关文章:

linux - 将 Oracle 从 Solaris 迁移和升级到 Linux,包括存储过程

linux - 安装在 AIX/Solaris/HPUX 上的 REDUX : How to overcome an incompatibility between the ksh on Linux vs.?

ruby - Mechanize 返回 `connect_nonblock' : SSL_connect returned=1 errno=0 state=SSLv3

wordpress - 从 HTTPS 迁移到 HTTP

wget - 使用 wget 下载所有 pdf 文件

linux - 使用 CURL 或 WGET 读取 Gzip 文件页脚

c++ - 无法在 Solaris 10 上使用 GCC 5.5 包含 cmath

python - SSLCertVerificationError - Geopy - 无法获取本地颁发者证书 (_ssl.c :1108)

Java TLS 套接字 : No trusted certificate found

python - 使用 python 或其他自动化 Arduino Yun WiFi 登录到 Captive Portal 的方法?