Authentication configuration not found

Hi.
I’m getting error: “Authentication configuration not found” when starting openvasmd.
What I’ve done so far:

root@lieta:/home/lieta# openvas-mkcert -f
-------------------------------------------------------------------------------
                        Creation of the OpenVAS SSL Certificate
-------------------------------------------------------------------------------

This script will now ask you the relevant information to create the SSL certificate of OpenVAS.
Note that this information will *NOT* be sent to anybody (everything stays local), but anyone with the ability to connect to your OpenVAS daemon will be able to retrieve this information.


CA certificate life time in days [1460]:
Server certificate life time in days [365]:
Your country (two letter code) [DE]: LV
Your state or province name [none]:
Your location (e.g. town) [Berlin]: Riga
Your organization [OpenVAS Users United]:
-------------------------------------------------------------------------------
                        Creation of the OpenVAS SSL Certificate
-------------------------------------------------------------------------------

Congratulations. Your server certificate was properly created.

The following files were created:

. Certification authority:
   Certificate = /var/lib/openvas/CA/cacert.pem
   Private key = /var/lib/openvas/private/CA/cakey.pem

. OpenVAS Server :
    Certificate = /var/lib/openvas/CA/servercert.pem
    Private key = /var/lib/openvas/private/CA/serverkey.pem

Press [ENTER] to exit

root@lieta:/home/lieta#
root@lieta:/home/lieta# openvas-mkcert-client -n -i
Generating RSA private key, 4096 bit long modulus (2 primes)
..............................................................................................................................................................................++++
...............++++
e is 65537 (0x010001)
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
Country Name (2 letter code) [DE]:State or Province Name (full name) [Some-State]:Locality Name (eg, city) []:Organization Name (eg, company) [Internet Widgits Pty Ltd]:Organizational Unit Name (eg, section) []:Common Name (eg, your name or your server's hostname) []:Email Address []:Using configuration from /tmp/openvas-mkcert-client.22998/stdC.cnf
Check that the request matches the signature
Signature ok
The Subject's Distinguished Name is as follows
countryName           :PRINTABLE:'DE'
localityName          :ASN.1 12:'Berlin'
commonName            :ASN.1 12:'om'
Certificate is to be certified until Apr 17 12:39:45 2020 GMT (365 days)

Write out database with 1 new entries
Data Base Updated
root@lieta:/home/lieta# openvasmd --get-scanners
08b69003-5fc2-4037-a479-93b440211c73  OpenVAS Default
root@lieta:/home/lieta#
root@lieta:/home/lieta# openvasmd --modify-scanner=08b69003-5fc2-4037-a479-93b440211c73 --scanner-ca-pub=/var/lib/openvas/CA/cacert.pem --scanner-key-pub=/var/lib/openvas/CA/clientcert.pem --scanner-key-priv=/var/lib/openvas/private/CA/clientkey.pem
Scanner modified.
root@lieta:/home/lieta#
root@lieta:/home/lieta#
root@lieta:/home/lieta# openvasmd --rebuild --progress
Rebuilding NVT cache... failed.
root@lieta:/home/lieta# systemctl start openvas-scanner.service
root@lieta:/home/lieta#
root@lieta:/home/lieta#
root@lieta:/home/lieta# openvasmd --rebuild --progress
Rebuilding NVT cache... done.
root@lieta:/home/lieta#
root@lieta:/home/lieta#
root@lieta:/home/lieta#
root@lieta:/home/lieta# systemctl start openvas-manager.service
root@lieta:/home/lieta#

Error in openvasmd.log:
lib auth: INFO:2019-04-18 12h42.45 utc:23304: Authentication configuration not found.

Based on the usage of this command:

it seems you’re using OpenVAS-8 which already reached its end-of-life at August, 27th 2018.

Please use / upgrade to one of the stable releases announced in the following threads:

1 Like