Hello, i would like to use solace-debezium connector (running in container - https://hub.docker.com/r/solace/solace-pubsub-connector-debezium) with our company solace. I would like to use authentication with certificate (as we use in other applications). So i configured application.yml
java:
connect-retries: -1
reconnect-retries: -1
host: tcps://hostname:55443
msg-vpn: <nameOfVPN>
apiProperties:
AUTHENTICATION_SCHEME: AUTHENTICATION_SCHEME_CLIENT_CERTIFICATE
SSL_VALIDATE_CERTIFICATE: true
SSL_KEY_STORE: /app/external/spring/config/key_store.jks
SSL_KEY_STORE_PASSWORD: <password>
SSL_TRUST_STORE: /app/external/spring/config/trust_store.jks
SSL_TRUST_STORE_PASSWORD: <password>
When i start docker container it throw this error and exit. When i tried to connect to local solace with basic auth a didnt have problem.
Logs from container are bellow.
I can see that there are “Client Certificate Authenticate is supported only for SSL secured schemes” but i dont know what else configure to have working debezium-solace connector? I didnt find anything in user manual from solace.
Thanks for all your tips
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:600)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:522)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:337)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:335)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:975)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:971)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:625)
at org.springframework.cloud.stream.binder.DefaultBinderFactory.initializeBinderContextSimple(DefaultBinderFactory.java:500)
at org.springframework.cloud.stream.binder.DefaultBinderFactory.getBinderInstance(DefaultBinderFactory.java:350)
at org.springframework.cloud.stream.binder.DefaultBinderFactory.doGetBinderConventional(DefaultBinderFactory.java:291)
at org.springframework.cloud.stream.binder.DefaultBinderFactory.doGetBinder(DefaultBinderFactory.java:180)
at org.springframework.cloud.stream.binder.DefaultBinderFactory.getBinder(DefaultBinderFactory.java:167)
at org.springframework.cloud.stream.binding.BindingService.getBinder(BindingService.java:419)
at org.springframework.cloud.stream.binding.BindingService.bindProducer(BindingService.java:279)
at org.springframework.cloud.stream.binding.BindingService.bindProducer(BindingService.java:311)
at org.springframework.cloud.stream.binding.BindingService.bindProducer(BindingService.java:315)
at org.springframework.cloud.stream.binding.AbstractBindableProxyFactory.createAndBindOutputs(AbstractBindableProxyFactory.java:115)
at org.springframework.cloud.stream.binding.OutputBindingLifecycle.doStartWithBindable(OutputBindingLifecycle.java:58)
at java.base/java.util.LinkedHashMap$LinkedValues.forEach(Unknown Source)
at org.springframework.cloud.stream.binding.AbstractBindingLifecycle.start(AbstractBindingLifecycle.java:59)
at org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:285)
... 13 common frames omitted
Caused by: com.solacesystems.jcsmp.InvalidPropertiesException: Client Certificate Authenticate is supported only for SSL secured schemes
at com.solacesystems.jcsmp.secure.SecureProperties.<init>(SecureProperties.java:257)
at com.solacesystems.jcsmp.JCSMPFactory.createSession(JCSMPFactory.java:165)
at com.solacesystems.jcsmp.SpringJCSMPFactory.createSession(SpringJCSMPFactory.java:83)
at com.solace.spring.cloud.stream.binder.config.SolaceMessageChannelBinderConfiguration.initSession(SolaceMessageChannelBinderConfiguration.java:69)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMethod.invoke(InitDestroyAnnotationBeanPostProcessor.java:457)
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:401)
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:219)
... 38 common frames omitted
Summary
This text will be hidden