Hello,
i builded the Greenbone Manager with the Sources from Github, after a few problems i got all.
Now i want to connect Check_MK with Greenbone using the gvm-tools, therefor i installed the gvm-tools on a Check-MK Host. Now i try to get the reportdetails from the Greenbone Server using a TLS connection from the Check_MK Server to the Greenbone Server.
I use this comment:
gvm-cli tls --hostname *IP-Adress from Greenbone Server* --port 443 --xml "<commands><authenticate><credentials><username>*USERNAME*</username><password>*PASSWORD*</password></credentials></authenticate><get_reports/></commands>"
and it returns “The read operation timed out”
I already checked the TLS Connection via openssl with follow command:
openssl s_client -connect IP-Adress:443
There i get a normal connection.
I checked also with this command if the Handshake goes right:
curl https://IP-Adress -k -v -q
And all seems legit.
With an older version of the Openvasscanner the connection between Openvas and Check_MK was much easier using check_omp:
check_omp -H IP-Adress of Greenbone -u USERNAME -w Password --status -T IP-Adress of Target --last-report -F Hostadress
Is there a way to use gvm-cli like check_omp? And maybe someone can help me with the “The read operation timed out”-Problem?
Notice: Everytime i talk from Greenbone-Server/IP i mean my local Ubuntu VM where i run the openvassd/gvmd/gsa…
Kind regards,
GVM versions
gsa: 8.0.1
gvm: 8.0.1
openvas-scanner: 6.0.1
gvm-libs: 10.0.1
gvm-tools: 2.0.0.beta1
Environment Check MK Server
**Operating system: Ubuntu Server 18.4
**Kernel: 4.15.0-58-generic
**Installation method / source: Github
Environment Greenbone Server
**Operating system: Ubuntu Server 18.4
**Kernel: 4.15.0-58-generic
**Installation method / source: Github