You are seeing that issue becaue your client isn't configured to make an SSL/TLS connection, see the documentation for details of how to configure the URI for SSL/TLS, e.g:
http://qpid.apache.org/releases/qpid-jms-0.11.1/docs/index.html#connection-uri http://qpid.apache.org/releases/qpid-jms-0.11.1/docs/index.html#ssl-transport-configuration-options Robbie On 24 October 2016 at 12:55, Artem <[email protected]> wrote: > So, i add transport.ssl() for my server like it: > > transport.ssl(domain, details); > > Where is: > > *domain - org.apache.qpid.proton.engine.impl.ssl.SslDomainImpl with my > server ssl certificate, private key and password; > org.apache.qpid.proton.engine.SslDomain.Mode = SERVER; > > *details = SslPeerDetails.Factory.create("localhost", port); > > I set (transport.sasl()) SASL Mechanisms for mode: "PLAIN"; > > My JMS client connect for my server with with url: > JmsConnectionFactory connectionFactory = new > JmsConnectionFactory("login1","password1","amqp://localhost:8081?ssl='true'"); > > When my server starting for processing connection it get WARNING: > "Unrecognized SSL message, plaintext connection?" that writing here: > org.apache.qpid.proton.engine.impl.ssl.SimpleSslTransportWrapper#process in > catch block. > > How i can fix it? Or what type of SASL Mechanisms i need use? > Also, my server work with SocketChannel that isn`t security(?), if i need > to change it for SSLSocket? > > > > > > -- > View this message in context: > http://qpid.2158936.n2.nabble.com/SSL-server-tp7652063p7652351.html > Sent from the Apache Qpid users mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
