首页 > 解决方案 > 通过 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 集群连接?

标签: ignitegridgain

解决方案


  1. 我不确定您的 Ignite REST 实际上是 HTTPS。您需要单独配置:Apache Ignite - 如何启用 HTTPS Rest API
  2. 看起来您的证书未由您的信任商店签名?您可以转储您的信任和密钥库的详细信息吗?

推荐阅读