4.3.2. Enabling SSL Debugging
Enabling verbose logging in the agent can return more details SSL communication messages in the agent log, which can help diagnose connection problems.
- Open the agent environment variable file. This defines some settings for the JVM which the agent runs in, including debug log settings.
vim agentRoot/rhq-agent/bin/rhq-agent-env.sh
- Add a
RHQ_AGENT_ADDITIONAL_JAVA_OPTS
line to set a debug environment variable.RHQ_AGENT_ADDITIONAL_JAVA_OPTS="-Djavax.net.debug=all"
- Restart the agent.
agentRoot/rhq-agent/bin/rhq-agent.sh