User:Maffblaster/Drafts/OpenVAS
The given reason is: This page should be deleted because the OpenVAS project name has been renamed in GVM and old OpenVAS loader package with all components removed from gentoo tree. GVM is a major update and all the commands and informations on this page are deprecated. We have new wiki page for new GVM --> Greenbone_Vulnerability_Management
If there is any reason not to delete this page, do not remove this notice, but please open a discussion on the associated talk page (this should delay deletion until the discussion is resolved).
Configuration
The following steps can be checked at any point by running the openvas-check-setup utility.
Generate an SSL certificate
Before OpenVAS can be started, an SSL certificate must be generated:
root #
openvas-mkcert
Generate the client's SSL certificate
root #
openvas-mkcert-client -n -i
Download vulnerability list
Download the vulnerability list with the following command:
root #
openvas-nvt-sync
Update the scan daemon's cache
root #
openvassd --only-cache
Rebuild the management daemon's NVT cache
root #
openvasmd --rebuild
Download the SCAP data
root #
openvas-scapdata-sync
Download the OpenVAS CERT database
root #
openvas-certdata-sync
Create a user
Users will not be able to login until accounts have been created for them. Pretending a user by the name of Larry would like to create an account:
root #
openvasmd --create-user larry
Unless you want a large GUID for a password, be sure to change it:
root #
openvasmd --user=larry --new-password=SuPErSeCR3TP@assw0rd
Users can be listed with the following command:
root #
openvasmd --get-users
Usage
Troubleshooting
Stuck on configuration steps
root #
openvas-check-setup
Service not starting
Check the log files located at /var/log/openvas/.