Install SSL in ejabberd on Ubuntu

Hi guys,

I have a question:

How I install SSL on ubuntu, for I use with ejabberd?

I have a android application, and when I connect to ejabberd, my application shows this error:

java.lang.ClassNotFoundException: javax.security.sasl.Sasl

Anybody has a solutions?

Thanks

Hello, Basically, you need to

Hello,

Basically, you need to generate a certificate .pem file.

Then, you can reference it in ejabberd.yml config file. For example see certfile directive:

listen:
  -
    port: 5222
    module: ejabberd_c2s
    access: c2s
    shaper: c2s_shaper
    starttls: true
    certfile: "/etc/ejabberd/server.pem"
    max_stanza_size: 65536
Syndicate content