SSL Configuration when using Spring cloud stream

  • I would like to add to the solution that you have to use tcps not TCP.
  • Additionally you can also include the port

example

tcps://192.168.133.64:55443

spring:
  cloud:
    stream:
      bindings:
        input:
          destination: queuename
          group: myconsumergroup

solace:
  java:
    host: tcps://192.168.133.64:55443
    msgVpn: default
    clientUsername: default
    clientPassword: default
    connectRetries: -1
    reconnectRetries: -1
    apiProperties:
      SSL_VALIDATE_CERTIFICATE: true
      SSL_TRUST_STORE: <path>
      SSL_TRUST_STORE_PASSWORD: <pwd>