Hi Fabrice- The simple authentication plugin stores usernames and passwords in the conf/activemq.xml (it is generally used for embedded brokers or unit testing). If you use that, you won’t need the files below in the Messaging services section.
Most general setups using running stand alone brokers with the Apache ActiveMQ distribution: Messaging services (JMS, MQTT, STOMP, etc): conf/login.config <— defines what to use conf/groups.properties <— group-to-user mappings conf/users.properties <— user and passwords Management (JMX): bin/env conf/jmx.password conf/jmx.access Web Console: conf/jetty.xml ref: https://activemq.apache.org/security Hope this helps! -Matt Pavlovich > On Jun 18, 2021, at 1:46 PM, Fabrice Triboix <fabrice.trib...@armedia.com> > wrote: > > Hello, > > Could somebody please provide me with an answer to my question below? > > Thank you very much for any help, > > Fabrice > > ________________________________ > From: Fabrice Triboix <fabrice.trib...@armedia.com> > Sent: 12 June 2021 15:50 > To: users@activemq.apache.org <users@activemq.apache.org> > Subject: Re: Roundup of the configuration files > > CAUTION: This email originated from outside of the organization. Do not click > links or open attachments unless you recognize the sender and know the > content is safe. > > > Hi Jean-Baptiste, > > Thanks a lot for your answer. > > Our ActiveMQ installation won't use any TLS, but will have authentication > (using the simple authentication plugin) and authorization. Which additional > configuration files would be required in such a setup? > > Thanks a lot for your help! > > Fabrice > > ________________________________ > From: Jean-Baptiste Onofre <j...@nanthrax.net> > Sent: 12 June 2021 05:37 > To: users@activemq.apache.org <users@activemq.apache.org> > Subject: Re: Roundup of the configuration files > > CAUTION: This email originated from outside of the organization. Do not click > links or open attachments unless you recognize the sender and know the > content is safe. > > > Hi, > > Basically, for a simple bin/activemq console start, by default (without > authentication), you just need > > - activemq.xml (broker config) > - jetty.xml (jetty container used by admin web console) > - log4j.properties (for logging config) > - logging.properties (can be removed if you don’t use JUL) > > All the rest is used when SSL is enabled, when authentication is enabled. > > I’ve started some cleanup for 5.17.0 having dedicated folders per "use". > > Regards > JB > >> Le 11 juin 2021 à 18:20, Fabrice Triboix <fabrice.trib...@armedia.com> a >> écrit : >> >> Hello everyone, >> >> I am looking at the official ActiveMQ tarball >> (https://archive.apache.org/dist/activemq/5.16.2/apache-activemq-5.16.2-bin.tar.gz) >> and I would like to understand how ActiveMQ is configured. >> >> In the "conf" directory, I can see the following files: >> >> * activemq.xml >> * broker.ks >> * broker-localhost.cert >> * broker.ts >> * client.ks >> * client.ts >> * credentials-enc.properties >> * credentials.properties >> * groups.properties >> * java.security >> * jetty-realm.properties >> * jetty.xml >> * jmx.access >> * jmx.password >> * log4j.properties >> * logging.properties >> * login.config >> * users.properties >> >> I would like to know what each of these configuration files do, and whether >> they are required or not. >> >> Many thanks, >> >> Fabrice >