|
From: Christian F. <pu...@fe...> - 2017-05-05 12:34:51
|
Hi Tomas, new version is available now at https://gist.github.com/ip6li/9801a5ed958feb7de6136ea175572bdf sha256sum of current version: 795bbf8b8156ad970b46fb2b40185fd387344e84d22879921133e8c44154f611 ejbca-setup Improvements and fixes: * Uses current user for install, except root * wget replaced by curl * installs tar, if not available * Logging config was changed according your recommendations regards Christian Am 02.05.2017 um 12:38 schrieb Tomas Gustavsson: > Hi Christian, > > I tested the script on CentOS 7. Worked well and was up and running in > no time > > The things I had to figure out: > 1. script must be run as user "ejbca". I started running as user "user" > and it went on until trying to build EJBCA when it failed. Could be > checked/warned for in the beginning. > 2. CentOS has curl installed by default I think, so if the script used > curl, the additional wget package would be needed to install. > > As a side-note, in my default installs I usually don't configure > log4j-jboss6.xml, I just let wildfly log to server.log as default and > enable/disable EJBCA debug logging dynamically with: > > /subsystem=logging/logger=org.ejbca:add > /subsystem=logging/logger=org.ejbca:write-attribute(name=level, value=DEBUG) > /subsystem=logging/logger=org.cesecore:add > /subsystem=logging/logger=org.cesecore:write-attribute(name=level, > value=DEBUG) > > Cheers, > Tomas |