Closed AnrDaemon closed 4 years ago
I have the same problem,“FIX: Run 'openvas-mkcert -f -q”,and when I run the command "openvas-mkcert -f -q", then get this "bash: openvas-mkcert: command not found"
For the record, I've "solved" it with atomicorp/openvas:v9
.
Yes, just used a different container.
The issue seems to be related to the 3rd party script to check OpenVAS:
https://github.com/mikesplain/openvas-docker/blob/master/9/start#L100
That 3rd part script (https://github.com/kurobeats/OpenVas-Management-Scripts/blob/master/openvas-check-setup#L213) is unable to determine the CA File:
CAFILE=`openvassd -s 2>>$LOG | grep ca_file | sed -e "s/^ca_file = //"`
When I log into the running mikesplain/openvas
container and run openvassd -s
, that ca_file
config is not even listed in the output at all.
Good find @boomshadow. Thankfully the container still works without fixing this, but would be useful to find a fix. Noting this issue here https://github.com/mikesplain/openvas-docker/issues/239, as it's related to not being able to run that command.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 30 days if no further activity occurs. Thank you for your contributions.
@mikesplain, do you will accept PR for this issue or openvas-docker will not be updated anymore ?
Thanks.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 30 days if no further activity occurs. Thank you for your contributions.
This issue has been automatically closed because it has not had recent activity. Issue creator may reopen if the issue still exists. Thank you for your contributions.
Managed to solve this by running openvasmd --new-password admin --user admin
inside the container.
Apparently reseting user's password also reset how it uses the certificate. If it doesn't work, maybe creating a new user does.
Container started, but does not accept default "admin:admin" login.
Host is Ubuntu 18.04 Docker version 18.09.5, build e8ff056 Started with command
Logs