ignite - 通过 GridGain Web 控制台监控 Apache Ignite 性能
问题描述
我正在使用 Apache Ignite 2.8.0。我通过以下方式为 REST API 启用了 HTTPS,
<New id="sslContextFactory" class="org.eclipse.jetty.util.ssl.SslContextFactory">
<Set name="keyStorePath">C:\\JAYAPRAKASH\\softwares\\ignite\\apache-ignite-2.8.0-bin\\keystore.jks</Set>
<Set name="keyStorePassword">1234567</Set>
<Set name="keyManagerPassword">1234567</Set>
<Set name="trustStorePath">C:\\JAYAPRAKASH\\softwares\\ignite\\apache-ignite-2.8.0-bin\\trust.jks</Set>
<Set name="trustStorePassword">123456</Set>
</New>
现在我通过以下配置启动我的网络代理,
tokens=adba082b-6b3f-46b5-bcf0-886e5571da4e
node-uri=https://localhost:8080
server-key-store=C:\\JAYAPRAKASH\\softwares\\ignite\\apache-ignite-2.8.0-bin\\keystore.jks
server-key-store-password=1234567
server-trust-store=C:\\JAYAPRAKASH\\softwares\\ignite\\apache-ignite-2.8.0-bin\\trust.jks
server-trust-store-password=123456
它在命令行中给出以下输出,
[2020-05-19T09:24:19,457][INFO ][http-client-18][WebSocketRouter] Successfully completes handshake with server
[2020-05-19T09:24:19,616][ERROR][pool-2-thread-1][ClusterHandler] Failed execute request on node
[url=https://localhost:8080, parameters={cmd=top, attr=true, mtr=false, caches=false}]
javax.net.ssl.SSLHandshakeException: PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path
to requested target
为 REST API 启用 HTTPS 时,如何将 GriGain Web 控制台与 Ignite 集群连接?
解决方案
- 我不确定您的 Ignite REST 实际上是 HTTPS。您需要单独配置:Apache Ignite - 如何启用 HTTPS Rest API
- 看起来您的证书未由您的信任商店签名?您可以转储您的信任和密钥库的详细信息吗?
推荐阅读
- python - 学习python,带循环问题的函数
- android - android.database.sqlite.SQLiteException:没有这样的表:table_name
- shell - Jenkinsfile 中 shell 脚本块的意外标记“<”附近的语法错误
- python - 我的解决方案是O(n ^ 2)吗,如果是,为什么它的运行速度与O(n)解决方案相同
- android - Android Studio 中的 PlayerPrefs
- c# - 注册后天蓝色 b2c 重定向 uri 覆盖
- r - 按降序排列堆叠的条形图
- python - 来自多个列的超级列
- ios - 发送请求时从数据库中删除了 Swift Alamofire“+”号
- flutter - 连接插件流呈现错误的网络状态