Project

General

Profile

can not login when server set socket type to "ssl"

shir Hu
Added about 2 years ago

Hi, team,
I set socket type like this

  c2s/connections/5222/socket[S]=ssl
  --sm-plugins add     +starttls,+urn:ietf:params:xml:ns:xmpp-sasl

then start XMPPServer, use jaxmpp3 "ConnectionType.socket" to login, connection config like this
  jaxmpp.getConnectionConfiguration().setConnectionType(ConnectionConfiguration.ConnectionType.socket);
  jaxmpp.getConnectionConfiguration().setDisableTLS(false);
  jaxmpp.getConnectionConfiguration().setUseSASL(true);

found that jaxmpp3 can not login ,use pandion's ssl to login success. Can you tell me if some other config required missed?


Replies (1)

Added by Bartosz Malkowski about 2 years ago

Jaxmpp3 doesn't support SSL connections. Only StartTLS.

    (1-1/1)