When the CA bundle on a pod has trailing spaces, the Jolokia agent throws an exception. See https://bugzilla.redhat.com/show_bug.cgi?id=1500464#c8 ``` Could not start Jolokia agent: java.lang.IllegalStateException: Cannot use keystore for https communication: java.security.cert.CertificateException: Could not parse certificate: java.io.IOException: Illegal header: -----BEGIN CERTIFICATE----- ``` This is a configuration issue and the proper solution is to get the cert to be made available without trailing spaces. A workaround for the other parts dealing with the Java cert toolchain was made as part of BZ 1471251 (and related) and a similar workaround could be made for the Jolokia agent, if necessary. This affects all versions of the Jolokia Agent included in Metrics.
I'm closing this as WONTFIX, as this is a configuration issue. If a workaround is required, like for the linked BZs, please reopen this.