Discussion:
[Ejbca-develop] Script for set up EJBCA on Wildfly 10
Tomas Gustavsson
2017-05-10 14:50:34 UTC
Permalink
Hi,
Super nice. I'm thinking this might be a new version of "quick setup guide" for EJBCA. What do you think?

Being security software, I spotted another good improvement. Since the script knows what software it downloads, it would be good to check the hash of the downloaded files, to ensure integrity.
What do you think?

Perhaps have the download links, and checksums to compare, as variables in the beginning of the script, for easy upgrade?

Cheers,
Tomas
Hi Tomas,
new version is available now at
https://gist.github.com/ip6li/9801a5ed958feb7de6136ea175572bdf
795bbf8b8156ad970b46fb2b40185fd387344e84d22879921133e8c44154f611
ejbca-setup
* 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
Hi Christian,
I tested the script on CentOS 7. Worked well and was up and running
in
no time
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
/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
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Ejbca-develop mailing list
https://lists.sourceforge.net/lists/listinfo/ejbca-develop
Loading...