SolaceProducts / solace-spring-cloud

An umbrella project containing all Solace projects for Spring Cloud
Apache License 2.0
20 stars 14 forks source link

use spring-cloud-starter-stream-solace to connect to solace occurs ConnectException: com.solacesystems.jcsmp.JCSMPTransportException: CertificateException #267

Closed keepGOG closed 6 months ago

keepGOG commented 6 months ago

use the spring Cloud Stream solace to connect to solace in my project, and enabled SSL_VALIDATE_CERTIFICATE. when the component spring-cloud-starter-stream-solace version is 3.3.2,can connect to solace success and worked properly. After i upgrade the version to the earliest version 4.1.0, it occurs exception. the exception info as belows:

Connection attempt failed to host '10.194.117.211' ConnectException com.solacesystems.jcsmp.JCSMPTransportException: CertificateException - No subject alternative names matching IP address 10.194.117.211 found cause: java.security.cert.CertificateException: No subject alternative names matching IP address

May i ask how to resolve it and why can't upgrade smoothly?

mackenza commented 6 months ago

hello, I see that you have posted this in the Solace Community (great place to get help, btw).

https://solace.community/discussion/3387/use-spring-cloud-stream-to-connect-to-solace-occurs-connectexception#latest

I will close this issue as it being addressed elsewhere.