Closed v1c5anchez closed 3 years ago
--publish 8080:9390
indicates that you are trying to map the web interface port to the local port. This wont work. GMP is not a HTTP based protocol. You need to change the gvmd
service to provide access via GMP over TLS.
Description
Hello everybody,
I am currently using a dockerized version of GVM. gvmd is running in the container.
I am trying to connect to gvmd using python-gvm via a TLSConnection object with the following script:
demo.py
Given that TLSConnection object is using the following default parameters:
The command I am using to run the container is:
Expected behavior
I should get the version:
Current behavior
Instead, I get an error:
Steps to reproduce
GVM versions
gsa: Greenbone Security Assistant 21.4.2
gvm: Greenbone Vulnerability Manager 21.4.3
openvas-scanner: ?
gvm-libs: ?
gvm-tools: ?
Environment
Operating system: Arch Linux 5.12.12-arch1-1 x86_64 GNU/Linux
Installation method / source: Docker