martinboller / gse

Bash script installing the latest version of Greenbone Community Edition the artist formerly known as OpenVAS. Greenbone Community Edition is the world’s most used open source vulnerability management solution.
https://www.infosecworrier.dk
13 stars 2 forks source link

/root/secondary-certs.sh hardcoded in script #8

Closed rbicelli closed 3 months ago

rbicelli commented 2 years ago

Hello and thanks for your work! I've just set up an environemnt in a breeze.

I noticed that if cloning the repo (which I think is the most used method here) the add-secondary-2-primary script fails, because in the script the path /root/secondary-certs.sh is hardcoded. Copying the script in /root solves the issue.

Some random questions (since i can't find your email :-):

Thanks!

martinboller commented 2 years ago

There's too much hard-coded stuff based on an original Vagrant installation. Eventually I'll get to use variables correctly :)

  1. Yeah, ansible or Salt Stack (i prefer the latter) and the community containers would be nice, however I like being independent of the prebuilt containers, so if I had to mess with those I'd still have to be able to build from source.
  2. You're correct! It is described here [https://docs.greenbone.net/GSM-Manual/gos-21.04/en/master-sensor-setup.html] + I should change my terminology to match Greenbones. Using OpenVPN or WireGuard would be a great way to further protect the comms btw them, however the traffic is already encrypted, so I've not considered that. Thanks for your input, really appreciated (but please allow for me being very very slow in updating stuff, as this is all being done in my spare time)