xmppo/go-xmpp

Change "notls" to the true

neil605164 opened this issue · 3 comments

Hi,When i edit "example.go" notls key to the 「true」 ,then i run the example.go is return 「starttls handshake: x509: certificate signed by unknown authority」,Can you help me to solve it

mattn commented

Whether the NonTLS is supported is depend on the server.

I use ejabberd in xmpp,this is my ejabberd.yml setting ,it's the right setting?

listen:
  -
    port: 5222
    module: ejabberd_c2s
    starttls: true
    certfile: '/opt/ejabberd-17.08/conf/server.pem"'
    protocol_options:
      - "no_sslv3"
    starttls_required: true
    max_stanza_size: 65536
    shaper: c2s_shaper
    access: c2s
mattn commented

Closed by #110