【发布时间】:2019-02-08 12:17:35
【问题描述】:
似乎是与 openssl 相关的问题。有人知道这是什么吗?
请注意,该网址可在浏览器中使用。
使用 wget:
# wget -d https://deb.nodesource.com/setup_8.x
DEBUG output created by Wget 1.19.4 on linux-gnu.
Reading HSTS entries from /home/user/.wget-hsts
URI encoding = ‘UTF-8’
Converted file name 'setup_8.x' (UTF-8) -> 'setup_8.x' (UTF-8)
--2018-09-02 19:54:06-- https://deb.nodesource.com/setup_8.x
Could not seed PRNG; consider using --random-file.
OpenSSL: error:2406F07A:random number generator:RAND_load_file:Not a regular file
Disabling SSL due to encountered errors.
使用卷曲:
# curl -v -L https://deb.nodesource.com/setup_8.x
* Trying 205.251.207.2...
* TCP_NODELAY set
* Connected to deb.nodesource.com (205.251.207.2) port 443 (#0)
<hangs>
【问题讨论】:
-
这在这个 vagrant box benno/ubntu-18.04 中运行良好,它也是 18.04.1。这些命令在您的环境中使用的 OpenSSL 库的确切版本是什么?
-
libssl.so.1.1 => /usr/local/lib/libssl.so.1.1
-
执行
strings /usr/local/lib/libssl.so.1.1 | grep ^OpenSSL时显示的版本是什么? -
OpenSSL 1.1.1-dev xx XXX xxxx
-
暂时忘记我的回答,您可以查看此链接Could not seed PRNG; consider using --random-file. 并尝试推荐吗?
标签: curl https openssl wget ubuntu-18.04