Le 10/01/2014 15:56, Attila Heidrich a écrit :
I have found the clues I guess... keystore stuff should be in
<agent-dir>/conf according to the java default prefs
<entry key="rhq.agent.client.security.keystore.file"
value="/opt/rhq-agent/conf/keystore.dat"/>
<entry key="rhq.agent.client.security.truststore.file"
value="/opt/rhq-agent/conf/truststore.dat"/>
but no such entries in the current config, and the whole section is
commented in the agent-configuration.xml.
A
2014/1/10 Attila Heidrich <attila.heidrich(a)gmail.com
<mailto:attila.heidrich@gmail.com>>
No error message, at least not in agent.log.
^^ that's weird, HTTPNetServiceComponent logs exceptions at error level
https://git.fedorahosted.org/cgit/rhq/rhq.git/tree/modules/plugins/netser...
I also think it should be related to the SSL communication, like the
CAs key is not in the Java/Jboss keystore. Unfortunately, I do not
know, how to install it, and can not find a howto either.
You're running a Debian bases system IIRC? Do you use OpenJDK or did you
correctly setup OracleJDK as an alternative? If you did, then I
recommend you follow this method:
http://blog.chmouel.com/2010/06/03/connecting-to-self-signed-ssl-certific...
The idea is basically to install your CA certificate in the system
folder for certificates ("/etc/ssl/certs") and then to run
"update-ca-certificates". Then all systems tools (curl and friends) and
the JVM will recognize your CA.
Thomas