Skip to content

Commit

Permalink
up to expat
Browse files Browse the repository at this point in the history
  • Loading branch information
mk committed Feb 26, 2013
1 parent 234385a commit 28a9e8a
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 6 deletions.
8 changes: 7 additions & 1 deletion README.md
Expand Up @@ -71,5 +71,11 @@ processors. system\_info(logical\_processors) always returns 1.

* starts

ejabberd now starts. I am unable to add the first user (admin).
ejabberd now starts. The admin user is added and admin console is accessible at
port 5280.

* expat

A c2s listener is configured on c2s. An attempt to connect fails because expat
driver is not present/known. Stuck.

13 changes: 8 additions & 5 deletions ejabberd.cfg
Expand Up @@ -5,14 +5,13 @@
%%MK: logging is statically set to 5 (debug)
%%{loglevel,4}.

{host,"jabberling"}.
{host,"erlangonxen.org"}.

{auth_method,anonymous}.
{anonymous_protocol,login_anon}.
{auth_method,internal}.
{access,register,[{allow,all}]}.

{acl,admin,{user,"mk","jabberling"}}.
{acl,admin,{user,"mk","erlangonxen.org"}}.
{access,configure,[{allow,admin}]}.
{access,register,[{allow,all}]}.

{listen,[
{5280,ejabberd_http,[
Expand All @@ -22,6 +21,10 @@
{request_handlers,[
{["register"],mod_register_web}
]}
]},
{5222,ejabberd_c2s,[
starttls,
{certfile,"priv/cert.pem"}
]}
]}.

Expand Down
14 changes: 14 additions & 0 deletions priv/cert.pem
@@ -0,0 +1,14 @@
-----BEGIN CERTIFICATE-----
MIICKTCCAZICCQCl9gdHk5NqUjANBgkqhkiG9w0BAQUFADBZMQswCQYDVQQGEwJB
VTETMBEGA1UECAwKU29tZS1TdGF0ZTEhMB8GA1UECgwYSW50ZXJuZXQgV2lkZ2l0
cyBQdHkgTHRkMRIwEAYDVQQDDAlsb2NhbGhvc3QwHhcNMTEwNDA4MTMxNTE3WhcN
MTEwNTA4MTMxNTE3WjBZMQswCQYDVQQGEwJBVTETMBEGA1UECAwKU29tZS1TdGF0
ZTEhMB8GA1UECgwYSW50ZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMRIwEAYDVQQDDAls
b2NhbGhvc3QwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAOjgFPS0dP4d8F1e
bNJPB+kAjM2FyTZGmkFCLUYONTPrdGOUIHL/UOGtU22BQzlskE+a6/j2Kg72tm8x
4X7yf+6s7CdRe086idNx9+GymZ64ZTnly33rD3AJffbBeWHwT2e9fuBeFk9WGC8v
kqECFZyqf7+znS0o48oBNcx3ePB5AgMBAAEwDQYJKoZIhvcNAQEFBQADgYEASTkv
oHuZyO8DgT8bIE6W3yM2fvlNshkhh7Thgpf32qQoVOxRU9EF0KpuJCCAHQHQNQlI
nf9Zc4UzOrLhxZBGocNhkkn4WLw2ysto/7+/+9xHah0M0l4auHLQagVLCoOsHUn2
JX+A2NrbvuX5wnUrZGOdgY70tvMBeU/xLtp3af8=
-----END CERTIFICATE-----
1 change: 1 addition & 0 deletions rebar.config
Expand Up @@ -18,6 +18,7 @@
{import_lib,public_key},
{import_lib,ssl},
{import_lib,mnesia},
{import,"priv/*"},
{import,"ejabberd.cfg"}
]}.

Expand Down

0 comments on commit 28a9e8a

Please sign in to comment.