A few small things happened while I was using openvas.
Using the command
sudo openvas-check-setup
to check whether the installation was complete, it always reported an error. The message said it was an nvt problem, over and over again; later, once I confirmed it, I found out it was actually a data update problem.
With the command
sudo greenbone-scapdata-sync
to pull the database. At first it pulled data starting from 2005 and timed out, so I ran the command again to pull. Because the data is overseas, the speed is very slow and it still kept timing out. There was no other way — by the time it had pulled the data up to 2020 it was already the middle of the night.
Get the certificate
sudo greenbone-certdata-sync
Rebuild the database
sudo openvasmd --rebuild
Create a user and reset the password
sudo openvasmd --create-user=erik --role=Admin && sudo openvasmd --user=erik --new-password=123456
Generate the certificate
sudo openvas-manage-certs -a
Start greenbone security assistant
sudo gsad --listen=127.0.0.1 --port=9392
Run openvas
sudo openvasmd
Check the installation again
sudo openvas-check-setup
If it shows: It seems like your OpenVAS-9 installation is OK, that means the installation succeeded.
Enter https://127.0.0.1:9392 in the browser to access and log in

