well. I think certificates are also stored in sql-lite database, so you
should empty it also?

Then try again :)

--
Eero

2015-11-25 21:42 GMT+02:00 Rene Behring <[email protected]>:

> oh… of course not, thanks!
>
> After looking in the openvasmd.log i found this:
> lib  serv:WARNING:2015-11-25 15h18.04 utc:850: openvas_server_verify: the
> certificate is not trusted
> lib  serv:WARNING:2015-11-25 15h18.04 utc:850: openvas_server_verify: the
> certificate hasn't got a known issuer
>
> So i removed the keys and used "openvas-manage-certs -a“ again so it
> created and signed all the certificates again but and at first it looked
> all right
> openvas-manage-certs -V
> OK: Directory for keys (/usr/local/var/lib/openvas/private/CA) exists.
> OK: Directory for certificates (/usr/local/var/lib/openvas/CA) exists.
> OK: CA key found in /usr/local/var/lib/openvas/private/CA/cakey.pem
> OK: CA certificate found in /usr/local/var/lib/openvas/CA/cacert.pem
> OK: CA certificate verified.
> OK: Certificate /usr/local/var/lib/openvas/CA/clientcert.pem verified.
> OK: Certificate /usr/local/var/lib/openvas/CA/servercert.pem verified.
>
> but openvasmd still got the same error, the certificate is not trusted and
> hasn’t got a known issuer.
>
> René
>
> Am 25.11.2015 um 16:36 schrieb Eero Volotinen <[email protected]>:
>
> well, did you already checked out the logs?
>
> strace -f openvasmd —rebuild might also help you..
>
> --
> Eero
>
> 2015-11-25 17:35 GMT+02:00 Rene Behring <[email protected]>:
>
>> The directories are not the main problem. if fixed it by creating them
>> but maybe the script "openvas-manage-certs“ should create them manually if
>> i use the option "-a“.
>>
>> Now i am stuck building the openvas database with "openvasmd —rebuild“
>>
>> René
>>
>> Am 25.11.2015 um 16:31 schrieb Eero Volotinen <[email protected]>:
>>
>> well, openvas9 is "beta"
>>
>> use bash -x openvas-manage-certs -a or strace to track down what is
>> directory is missing and then just mkdir -p /path/to/directory
>>
>> Eero
>>
>> 2015-11-25 17:24 GMT+02:00 Rene Behring <[email protected]>:
>>
>>> Hey,
>>>
>>> i have just build OpenVAS 9 beta. When i try to do
>>>         openvas-manage-certs -a
>>>
>>> I get the following error:
>>>         Install destinations are not writable. Aborting.
>>>
>>> After manually creating the following dirs it creates the certificates.
>>>         mkdir /usr/local/var/lib/openvas/CA
>>>         mkdir /usr/local/var/lib/openvas/private/CA
>>>
>>> After running openvassd and waiting until the scanner is done loading, i
>>> tried to rebuild the database with
>>>         openvasmd -v --rebuild --progress
>>> and got
>>>         Rebuilding NVT cache... failed.
>>>
>>> openvas-check-setup —v9 just says that i have to generate the NVT cache.
>>>
>>> Any Ideas? Or openvas 9 install instructions?
>>>
>>> Thanks,
>>> René
>>> _______________________________________________
>>> Openvas-discuss mailing list
>>> [email protected]
>>>
>>> https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
>>
>>
>>
>>
>
>
_______________________________________________
Openvas-discuss mailing list
[email protected]
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

Reply via email to