ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ilya Kasnacheev <ilya.kasnach...@gmail.com>
Subject Re: Web Agent configurations to connect Secured(SSL) IGNITE
Date Thu, 13 Dec 2018 12:10:53 GMT
Hello!

You can try specifying java.net.ssl.* java system properties rougly as per:
https://docs.oracle.com/javadb/10.8.3.0/adminguide/cadminsslclient.html

Regards,
-- 
Ilya Kasnacheev


чт, 13 дек. 2018 г. в 09:32, Shesha Nanda <sheshananda99@gmail.com>:

> Hi,
>
> I have deployed IGNITE 2.7 by enabling SSL security. It's up and able to
> access curl requests through HTTPS.
>
>           $ *curl --cacert host-server.pem
> "https://host:11443/ignite?cmd=version
> <https://host:11443/ignite?cmd=version>"*
>
> {"successStatus":0,"error":null,"sessionToken":null,"response":"2.7.0"}
>
> Getting below error when I try start *web-agent* :
>
>     *./ignite-web-agent.sh  -t sN2SJvNbIRLGmTEanPzb   -s
> http://10.76.58.140:9000 <http://10.76.58.140:9000>    -n
> https://vm-beam-controllers-1:11443 <https://vm-beam-controllers-1:11443>*
>
> [2018-12-13 06:14:12,474][INFO ][main][AgentLauncher] Starting Apache
> Ignite Web Console Agent...
> [2018-12-13 06:14:12,727][WARN ][main][AgentLauncher] Failed to find agent
> property file: default.properties
>
> Agent configuration:
> User's security tokens          : ****************nPzb
> URI to Ignite node REST server  : https://vm-beam-controllers-1:11443
> URI to Ignite Console server    : http://10.76.58.140:9000
> Path to agent property file     : default.properties
> Path to JDBC drivers folder     :
> /home/cloud-user/sheshananda/apache-ignite-2.7.0-src/modules/web-console/web-agent/target/jdbc-drivers
> Demo mode                       : enabled
>
> [2018-12-13 06:14:13,309][INFO ][main][AgentLauncher] Connecting to:
> http://10.76.58.140:9000
> [2018-12-13 06:14:13,471][INFO ][EventThread][AgentLauncher] Connection
> established.
> [2018-12-13 06:14:13,554][INFO ][EventThread][AgentLauncher]
> Authentication success.
> [2018-12-13 06:14:14,008][ERROR][pool-1-thread-1][ClusterListener]
> WatchTask failed
> *javax.net.ssl.SSLHandshakeException: Received fatal alert:
> handshake_failure*
>         at com.ibm.jsse2.k.a(k.java:15)
>         at com.ibm.jsse2.k.a(k.java:23)
>         at com.ibm.jsse2.av.b(av.java:343)
>         at com.ibm.jsse2.av.a(av.java:981)
>         at com.ibm.jsse2.av.i(av.java:869)
>         at com.ibm.jsse2.av.a(av.java:19)
>         at com.ibm.jsse2.av.startHandshake(av.java:672)
>         at
> okhttp3.internal.connection.RealConnection.connectTls(RealConnection.java:268)
>         at
> okhttp3.internal.connection.RealConnection.establishProtocol(RealConnection.java:238)
>         at
> okhttp3.internal.connection.RealConnection.connect(RealConnection.java:149)
>         at
> okhttp3.internal.connection.StreamAllocation.findConnection(StreamAllocation.java:192)
>         at
> okhttp3.internal.connection.StreamAllocation.findHealthyConnection(StreamAllocation.java:121)
>         at
> okhttp3.internal.connection.StreamAllocation.newStream(StreamAllocation.java:100)
>         at
> okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:42)
>         at
> okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
>         at
> okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
>         at
> okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93)
>         at
> okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
>         at
> okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
>         at
> okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93)
>         at
> okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
>         at
> okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:120)
>         at
> okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92)
>         at
> okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67)
>         at
> okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:185)
>         at okhttp3.RealCall.execute(RealCall.java:69)
>         at
> org.apache.ignite.console.agent.rest.RestExecutor.sendRequest(RestExecutor.java:169)
>         at
> org.apache.ignite.console.agent.rest.RestExecutor.sendRequest(RestExecutor.java:184)
>         at
> org.apache.ignite.console.agent.handlers.ClusterListener$WatchTask.restCommand(ClusterListener.java:380)
>         at
> org.apache.ignite.console.agent.handlers.ClusterListener$WatchTask.topology(ClusterListener.java:414)
>         at
> org.apache.ignite.console.agent.handlers.ClusterListener$WatchTask.run(ClusterListener.java:470)
>         at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:522)
>         at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:319)
>         at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:191)
>         at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
>         at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1160)
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
>         at java.lang.Thread.run(Thread.java:811)
>
>
>
> Could you please let me know the steps to pass IGNIT SSL configurations to
> *web-agent.*
>
>
>
> --
> *Regards*
>
> *Sheshananda *
>

Mime
View raw message