【发布时间】:2021-03-18 19:12:25
【问题描述】:
我想设置对我们的 Springboot 应用程序的监控。我们已经包含了 jolokia。 由于 ssl 证书验证失败,我无法连接到 jolokia 端点。
GET https://localhost:9090/jolokia/search/*%3Aj2eeType%3DJ2EEServer%2C*
===========================================================
500 Can't connect to localhost:9090 (certificate verify failed)
Content-Type: text/plain
Client-Date: Mon, 07 Dec 2020 13:12:16 GMT
Client-Warning: Internal response
Can't connect to localhost:9090 (certificate verify failed)
SSL connect attempt failed error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed at /usr/lib/perl5/vendor_perl/5.26.1/LWP/Protocol/http.pm line 50.
谢谢你, 拉多万
【问题讨论】:
-
这可以通过设置选项来实现,如stackoverflow.com/questions/6795030/… 所述。就是不知道怎么通过。