You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2021/12/09 08:15:07 UTC

[GitHub] [camel-k] tadayosi opened a new issue #2827: Outdated `ca-cert` path for Jolokia trait

tadayosi opened a new issue #2827:
URL: https://github.com/apache/camel-k/issues/2827


   The default CA cert path `/var/run/secrets/kubernetes.io/serviceaccount/service-ca.crt` for Jolokia trait seems to be outdated. When I run an integration as follows, I get `No such CA cert` error and cannot enable Jolokia endpoint:
   ```
   $ kamel run examples/languages/Sample.java -t jolokia.enabled=true -t jolokia.protocol=https --dev
   ...
   Could not start Jolokia agent: java.lang.IllegalStateException: Cannot open keystore for https communication: java.io.FileNotFoundException: No such CA cert /var/run/secrets/kubernetes.io/serviceaccount/service-ca.crt
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel-k] tadayosi commented on issue #2827: Outdated `ca-cert` path for Jolokia trait

Posted by GitBox <gi...@apache.org>.
tadayosi commented on issue #2827:
URL: https://github.com/apache/camel-k/issues/2827#issuecomment-989632150


   Hmm, it looks like it's my mistake. For OpenShift there has been `/var/run/secrets/kubernetes.io/serviceaccount/service-ca.crt` and it's the correct path.
   
   Closing.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel-k] tadayosi closed issue #2827: Outdated `ca-cert` path for Jolokia trait

Posted by GitBox <gi...@apache.org>.
tadayosi closed issue #2827:
URL: https://github.com/apache/camel-k/issues/2827


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org