lxmppd.cfg.dist

Sun, 05 Oct 2008 19:10:21 +0100

author
Matthew Wild <mwild1@gmail.com>
date
Sun, 05 Oct 2008 19:10:21 +0100
branch
tls
changeset 66
018705d57f09
parent 36
62998e5319e3
child 204
4ca91e0551b2
permissions
-rw-r--r--

Working TLS!



sessions = {};
hosts = 	{ 
			["localhost"] = 	{
							type = "local";
							connected = true;
							sessions = {};
						};
			["getjabber.ath.cx"] = 	{
							type = "local";
							connected = true;
							sessions = {};
						};
		}
		
-- If the following is not defined, no SSL will be set up on 5223		
ssl_ctx =	{
			mode = "server",
			protocol = "sslv23",
			
			key = "/home/matthew/ssl_cert/server.key",
    			certificate = "/home/matthew/ssl_cert/server.crt",
    			capath = "/etc/ssl/certs", verify = "none",
    		}

mercurial