我正在尝试为我的网络服务器设置一个新的 https 连接器,但每当我通过 https 调用端点时,我都会收到“OpenSSL:错误:0A000126:SSL 例程::读取时意外的 eof”。我通过 http:80 收到成功响应,但在 https:443 上收到错误。
在 Ubuntu 22.04、OpenSSL 3.0.2、Jetty 11.0.11、JVM 目标 1.8 上运行。
我正在尝试使用 wget 从同一台计算机访问端点。Web 服务器正在另一个 tmux 窗口中运行。
wget https://localhost:443/
--{timestamp}-- https://localhost/
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:443... connected.
OpenSSL: error:0A000126:SSL routines::unexpected eof while reading
Unable to establish SSL connection.
Run Code Online (Sandbox Code Playgroud)
根据其他堆栈溢出帖子,我尝试过:
我找到了这篇文章,但我仍然不明白问题的关键。
这个错误是转移注意力还是实际上是一个问题?我需要使用不同的 Ubuntu/OpenSSL 组合吗?我需要使用不同版本的 Jetty 吗?