<div dir="ltr">Hi,<br><br>I was setting up a test instance of RabbitMQ and the first thing I tried was to hook it up to a simple LDAP server. I started with a very simple config for testing:<div><div><br>[<br> {rabbit, [ {auth_backends, [rabbit_auth_backend_ldap]} ]}, <br> {rabbitmq_auth_backend_ldap, <br> [{user_dn_pattern, "uid=${username},ou=people,o=myorg"}, <br> {use_ssl, true}, <br> {port, 636}, <br> {log, network} ] }<br>]<br><br>When I tried to connect with this config I got:<br><br>LDAP network traffic: Connect: "ldap" failed {error,ssl_not_started}<br><div><br></div><div><br></div><div>Not being familiar with Erlang, it took me a long time to work out that "ssl_not_started" meant the SSL application inside Erlang was not started, because I hadn't specified any ssl ports for the main rabbit config. The simplest fix was to add an ssl listner:</div></div></div><div><br></div><div><div>{rabbit,</div><div> [</div><div> {auth_backends, [rabbit_auth_backend_ldap]},</div><div> {ssl_listeners, [5671]}<br></div><div> ]},</div></div><div>...</div><div><br></div><div>Not sure if this is a bug - maybe the ldap plugin should also try to start the ssl application to be sure it's running?. Either way, I thought I'd send it along so the next person has a non-zero number of ghits for this error.<br></div><div><br></div><div>Thanks,</div><div><br></div><div>- Matthew</div></div>