通过 GridGain Web 控制台监控 Apache Ignite 性能

Monitoring Apache Ignite performance by GridGain web console

我正在使用 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 启用 HTTPS 时,如何将我的 GriGain Web 控制台连接到 Ignite 集群 API?

  1. 我不确定您的 Ignite REST 是否真的是 HTTPS。您需要单独配置:
  2. 您的证书似乎不是由您的信任库签署的?你能转储你的信任和密钥库的详细信息吗?

遵循此安全指南,其中详细介绍了如何为 Ignite 客户端、服务器和 WebConsole 启用 SSL/TLS:https://www.gridgain.com/docs/tutorials/security/ssl-guide