When attempting to start a Camunda process instance from the dev-template Spring Boot application, the request fails during authentication.
The application is unable to apply OAuth credentials due to a TLS certificate trust issue.
Environment Details
-
Application: Spring Boot (dev-template)
-
Java Version: JDK 21
-
Camunda Client:
camunda-client-java 8.8.0 -
Runtime: Local / Dev
-
Camunda Setup:
-
OAuth authentication enabled
-
TLS enabled
-
Custom certificates configured (
server.crt,server.key)
-
-
Network: Internal IPs (192.168.x.x) / Corporate network
JVM does not trust the SSL certificate presented by the target endpoint
-
Possible reasons:
-
Certificate chain is incomplete
-
Root / Intermediate CA is missing from JVM truststore
-
Self-managed TLS certificates are configured while OAuth (Camunda SaaS Identity) is still active
-
Mixing Camunda SaaS OAuth with **self-managed Zeebe TLS configuration
**
OAuth authentication always connects to Camunda Identity -
JVM must trust the certificate authority of the Identity endpoint
-
Configuring
server.crt / server.keydoes not make the JVM trust the server -
Trust must be established via JVM truststore
-