Hi,
Trying to use worker ( with Inbound and Outbound Connectors ) to connect with Camunda SAAS. Getting a certificate issue during server startup…
I see the engine is created in the logs…
Have added the camunda.io and operate.camunda.io to the cacerts in the JDK → Security…
2023-08-10T15:43:24.069+05:30 INFO 21296 — [ main] org.camunda.feel.FeelEngine : Engine created. [value-mapper: CompositeValueMapper(List(org.camunda.feel.impl.JavaValueMapper@58d63b16)), function-provider: io.camunda.connector.runtime.core.feel.FeelConnectorFunctionProvider@7c4fc2bf, clock: SystemClock, configuration: Configuration(false)]
2023-08-10T15:45:21.673+05:30 WARN 21296 — [ main] s.c.c.OperateClientProdAutoConfiguration : An attempt to connect to Operate failed: io.camunda.operate.exception.OperateException: javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
2023-08-10T15:45:21.679+05:30 WARN 21296 — [ main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘io.camunda.connector.runtime.inbound.lifecycle.InboundConnectorRestController’: Unsatisfied dependency expressed through constructor parameter 0: Error creating bean with name ‘inboundConnectorManager’ defined in class path resource [io/camunda/connector/runtime/inbound/lifecycle/InboundConnectorLifecycleConfiguration.class]: Unsatisfied dependency expressed through method ‘inboundConnectorManager’ parameter 3: Error creating bean with name ‘processDefinitionInspector’ defined in class path resource [io/camunda/connector/runtime/inbound/importer/ProcessDefinitionImportConfiguration.class]: Unsatisfied dependency expressed through method ‘processDefinitionInspector’ parameter 0: Error creating bean with name ‘camundaOperateClient’ defined in class path resource [io/camunda/zeebe/spring/client/configuration/OperateClientProdAutoConfiguration.class]: Failed to instantiate [io.camunda.operate.CamundaOperateClient]: Factory method ‘camundaOperateClient’ threw exception with message: io.camunda.operate.exception.OperateException: javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target