How to enable TLS/ SSL support to ejabberd server

We are using ejabberd -1.1.4 as IM Server. We are trying to enabel TLS support in changing of ejabberd.cfg file
We are getting Read Error when ever creating an account using "Pidgin Software" as IM Client, at that time we are capturing some of that TCP packets, in that packet analysis "CHECK SUM INCORRECT" error occurs.

Can any one help me about how to enable TLS/SSL support to ejabbard server.

Thanks in advance,
Satya.

pls help me out.

Hi All,
I am also looking for..how to enable TLS/SSL support from ejabberd
Pls...help me out.........
Thanks,
Siva.

Example config

svanga wrote:
Can any one help me about how to enable TLS/SSL support to ejabbard server.
This example configuration supports:
  • plain connections (not encrypted) in port 5222
  • encryption with STARTTLS in port 5222
  • encryption with the old SSL method in the port 5223
{listen,
 [

  {5222, ejabberd_c2s, [
			{certfile, "/path/to/ssl.pem"}, starttls,
			{access, c2s},
			{shaper, c2s_shaper},
			{max_stanza_size, 65536}
		       ]},

  {5223, ejabberd_c2s, [
  			{certfile, "/path/to/ssl.pem"}, tls,
  			{access, c2s},
  			{shaper, c2s_shaper},
  			{max_stanza_size, 65536}
  		       ]},

  {5269, ejabberd_s2s_in, [
			   {shaper, s2s_shaper},
			   {max_stanza_size, 131072}
			  ]},

  {5280, ejabberd_http, [
			 http_poll, 
			 web_admin
			]}

 ]}.
If something goes wrong in your server, check the ejabberd log files ejabberd.log and sasl.log, because maybe the report some error message at startup or when a client tries to connect.

Thanks Dude We have changed

Thanks Dude

We have changed ejabberd.cfg as like you mentioned above.
That ejabberd server is enabling startTLS at port 5222.

Syndicate content