----------------------------------------------------------------- --------------------------IMPORTANT------------------------------ ----------------------------------------------------------------- You will need to set up your /etc/redis.conf file properly before running openvas-scanner for the first time. For details, please see the example config file installed to: --> /etc/openvas/redis.conf.example Please configure /etc/openvas/openvassd.conf properly according to redis listening unix socket. e.g. /etc/openvas/openvassd.conf --> kb_location = /tmp/redis.sock If you use first-start script it will check various issues and automatically setup OpenVAS for first time use. GSA(Greenbone Security Agent) WebUI listens port 9392(local) default. If you want to use nginx reverse proxy to reach WebUI please see the example config file --> /etc/openvas/gsa.nginx.reverse.proxy.example otherwise you can change port to 443 or 80. ----------------------------------------------------------------- ---------------------------SCRIPTS------------------------------- ----------------------------------------------------------------- 'first-start' --> Automatically setup OpenVAS for first time use --> Installed in /etc/openvas/scripts 'openvas-feed-sync' --> Updates Feeds | You can add this to cron --> Installed in /etc/openvas/scripts ----------------------------------------------------------------- ----------ENVIRONMENT SETTINGS FOR SYSTEMD & OPEN-RC------------- ----------------------------------------------------------------- 'openvas-scanner-daemon.conf' --> OpenVAS Scanner systemd daemon settings --> Installed in /etc/openvas/sysconfig 'gvmd-daemon.conf' --> OpenVAS Manager systemd daemon settings --> Installed in /etc/openvas/sysconfig 'gsa-daemon.conf --> Greenbone Security Agent systemd daemon settings --> Installed in /etc/openvas/sysconfig 'openvas-scanner' --> OpenVAS Scanner open-rc daemon settings --> Installed in /etc/config.d 'gvmd' --> OpenVAS Manager open-rc daemon settings --> Installed in /etc/config.d 'gsa' --> Greenbone Security Agent systemd daemon settings --> Installed in /etc/config.d ----------------------------------------------------------------- --------QUICK START COMMANDS (IF YOU DON'T USE SCRIPTS)---------- ----------------------------------------------------------------- 'env-update && source /etc/profile' --> Update PATHS 'openvas-manage-certs -a' --> Create certificates automatically first time 'greenbone-nvt-sync' --> Update NVT Feed 'greenbone-scapdata-sync' --> Update scapdata Feed 'greenbone-certdata-sync' --> Update certdata Feed 'openvassd --foreground --only-cache' --> Generate initial NVT cache and quit 'rc-service openvas-scanner start or systemctl start openvas-scanner' --> Start OpenVAS-Scanner 'openvasmd --rebuild --progress' --> Initialize the Database 'openvasmd --create-user=admin --role=Admin' --> Create User for WEBUI.Save your password 'rc-service gvmd start or systemctl start gvmd' --> Start OpenVAS-Manager 'rc-service gsa start or systemctl start gsa' --> Start the Greenbone Security Assistant ----------------------------------------------------------------- ---------------------PLUGIN KEY AND SIGNING---------------------- ----------------------------------------------------------------- 'gpg --homedir=/etc/openvas/gnupg --gen-key' --> Generate Key 'wget https://www.greenbone.net/GBCommunitySigningKey.asc' --> Official OpenVAS Transfer Key 'gpg --homedir=/etc/openvas/gnupg --import GBCommunitySigningKey.asc' --> Import OpenVAS Transfer Key 'gpg --homedir=/etc/openvas/gnupg --lsign-key 0ED1E580' --> Sign