You need to load the CA certificate from the slave/remote scanner.
This one, path example: /opt/openvas9-3/var/lib/openvas/CA/cacert.pem

Just save it as a text file on your computer, load up gsad, go to Configuration 
> Scanners and edit the scanner.
Right to CA Certificate you can click Browse, load it with that and you should 
be all set.

Thijs Stuurman
Quality & Security | KPN Internedservices B.V.
thijs.stuur...@internedservices.nl<mailto:thijs.stuur...@internedservices.nl> | 
thijs.stuur...@kpn.com<mailto:thijs.stuur...@kpn.com>
T: +31(0)299476185 | M: +31(0)624366778
PGP Key-ID: 0x16ADC048 (https://pgp.surfnet.nl/)
Fingerprint: 2EDB 9B42 D6E8 7D4B 6E02 8BE5 6D46 8007 16AD C048

W: https://www.internedservices.nl<https://www.internedservices.nl/> | L: 
https://nl.linkedin.com/in/thijsstuurman

Van: Openvas-discuss <openvas-discuss-boun...@wald.intevation.org> Namens Natxo 
Asenjo
Verzonden: vrijdag 31 augustus 2018 23:35
Aan: openvas-discuss@wald.intevation.org
Onderwerp: [Openvas-discuss] trouble running task

hi,

I have a openvasmd running version 7.0.2 , manager db revision 184, using 
postgresql.

After successfully adding a remote scanner, I try running a task but I get this 
error (logs in the manager openvasmd.log):

openvas_server-verify: the certificate is not trusted
openvas_server_verify: the certificate hasn't got a known issuer

I have tried this (http://www.openvas.org/src-doc/openvas-manager/index.html) :

(in the manager)
# openvasmd --modify-scanner <UUID> --scanner-ca-pub 
/usr/local/var/lib/openvas/CA/cacert.pem
Failed to find scanner <UUID>

I have verified the UUID multiple times, it's correct. When I run openvasmd 
--get-scanners, I get the UUID and I paste it to the --modify-scanner from that 
output.

If I try verifying the scanner I get this error:
openvas-manager-7.0.2/sr/manage_sql.c:46715: verify_scanner: Assertion `0' 
failed.

How can I get this working?

Thanks in advance!


--
regards,
natxo
_______________________________________________
Openvas-discuss mailing list
Openvas-discuss@wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

Reply via email to