I am working to set up DSE 5 on AWS. I have a separate OpsCenter 6.0.0 node. I have three cluster nodes, a, b and c.
Each server, OpsCenter plus 3 nodes, is an Ubuntu 14.04 server with Oracle JDK1.8.0_92 installed.
On the OpsCenter node, I installed and started OpsCenter Ok.
I created a cluster Ok, but then when I went back to OpsCenter to manage that cluster, the agents were not communicating. I tried to install agents automatically, and that failed.
I went into /usr/share/opscenter, ran bin/setup.py, and copied the /usr/share/opccenter/ssl folder and files to the nodes in /var/lib/datastax-agent/ssl/
On my cluster nodes, in the agent.log, I get the following:
ERROR [StompConnection receiver] 2016-07-18 18:04:24,747 Jul 18, 2016
6:04:24 PM org.jgroups.client.StompConnection connect
INFO: Connected to 52.0.16.77:61620
ERROR [StompConnection receiver] 2016-07-18 18:04:24,747 Jul 18, 2016
6:04:24 PM org.jgroups.client.StompConnection run
SEVERE: JGRP000112: Connection closed unexpectedly:
javax.net.ssl.SSLException: Connection has been shutdown:
javax.net.ssl.SSLHandshakeException:
sun.security.validator.ValidatorException: PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to
find valid certification path to requested target
at sun.security.ssl.SSLSocketImpl.checkEOF(SSLSocketImpl.java:1541)
at sun.security.ssl.AppInputStream.read(AppInputStream.java:95)
at sun.security.ssl.AppInputStream.read(AppInputStream.java:71)
at java.io.FilterInputStream.read(FilterInputStream.java:83)
at org.jgroups.util.Util.readLine(Util.java:2825)
at org.jgroups.protocols.STOMP.readFrame(STOMP.java:240)
at org.jgroups.client.StompConnection.run(StompConnection.java:274)
at java.lang.Thread.run(Thread.java:745)
Caused by: javax.net.ssl.SSLHandshakeException:
sun.security.validator.ValidatorException: PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to
find valid certification path to requested target
Clearly, the /var/lib/datastax-agent/ssl/agentKeyStore did not get built correctly by setup.py.
I retraced all of those steps and got no errors.
Any ideas?