HOw to config ssl on ejabberd server.

I did follow the instruction to use tls in the option at port 5222. Then I used pidgid to connect to the server with require ssl/tls option, but the client couldn't connect to the server. Below is my configuration file. If I did anything wrong, please help me out.
Could you tell me how to test ssl either. I am totally new in this.

{5222, ejabberd_c2s, [
{certfile, "/usr/local/var/ejabber/conf/server.pe
m"}, starttls,
tls,
{access, c2s},
{shaper, c2s_shaper},
{max_stanza_size, 65536}
]},

Thanks

Re: HOw to config ssl on ejabberd server.

Your config file seems to be correct. Do you see any errors in the log? Is your PEM file correct?

I used the default of .PEM

I used the default of .PEM file. Do I need to config anything on it? Because this during is the holiday time, I will show you the log on Monday.

Thanks in advance

Syndicate content