【发布时间】:2021-02-05 15:27:43
【问题描述】:
我正在我的应用程序中调用外部 Rest 端点。但我收到以下错误:
The response body does not contain an access token
org.springframework.web.client.ResourceAccessException: I/O error on POST request for
"https://example.com/api/auth": Unsupported or unrecognized SSL message; nested exception is
javax.net.ssl.SSLException: Unsupported or unrecognized SSL message
在这种情况下,我找到了一篇文章如下:
Unrecognized SSL message, plaintext connection? Exception
但是,我没有发现这很有用,因为我正在与端口号为 443 的 HTTPS 服务器通信。
这是否会因为白名单而发生,我的意思是我要连接的 HTTPS 服务器端点尚未列入白名单?
【问题讨论】:
-
如果你
curl -v https://example.com/api/auth怎么办?