From d8febac4da7c922deb9750e41dc86c4ed8b6ae4c Mon Sep 17 00:00:00 2001 From: Joshua Schmitt Date: Wed, 20 Nov 2019 14:56:27 -0600 Subject: [PATCH] add certtool --- Readme.md | 13 +++++++------ install-pkgs.sh | 1 + 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/Readme.md b/Readme.md index b45b90f3..afd78123 100644 --- a/Readme.md +++ b/Readme.md @@ -1,6 +1,6 @@ -# GreenBone Vulnerability Management 11 Docker Image +# A GreenBone Vulnerability Management 11 Docker Image -This docker image is based on GVM 11 but with a few package modifications. After years of successfully using the OpenVAS 8/9 package, maintained by the Kali project, we started having performance issues. After months of trying to tweak OpenVAS, with varying and short lived success, we decided to maintain our own modified version of GVM 11. This was done to streamline the installation, cleanup, and improve reliability. +This docker image is based on GVM 11 but with a few package modifications. After years of successfully using the OpenVAS 8/9 package, maintained by the Kali project, we started having performance issues. After months of trying to tweak OpenVAS, with varying and short lived success, we decided to maintain our own packaged version of GVM 11. This was done to streamline the installation, cleanup, and improve reliability. ## Deployment @@ -22,13 +22,13 @@ curl https://get.docker.com | sh This command will pull, create, and start the container: ``` -docker run -d -p 8080:9392 --name gvm securecompliance/gvm +docker run -d -p 8080:9392 -e PASSWORD="Your admin password here" --name gvm securecompliance/gvm ``` You can use whatever `--name` you'd like but for the sake of this guide we're using gvm. -The `-p 8080:9392` switch will port forward `8080` on the host to `9392` (the default web interface port) in the docker container. Port `8080` was chosen only to avoid conflicts with any existing installation. You can change `8080` to any available port that you'd like. +The `-p 8080:9392` switch will port forward `8080` on the host to `9392` (the container web interface port) in the docker container. Port `8080` was chosen only to avoid conflicts with any existing OpenVAS/GVM installation. You can change `8080` to any available port that you'd like. -Depending on your hardware, it can take anyhwere from a few seconds to 10 minutes while the NVTs are scanned and the database is rebuilt. **The default user account is created after this process has completed. If you are unable to login, it means it is still loading (be patient).** +Depending on your hardware, it can take anyhwere from a few seconds to 10 minutes while the NVTs are scanned and the database is rebuilt. **The default admin user account is created after this process has completed. If you are unable to access the web interface, it means it is still loading (be patient).** **Checking Deployment Progress** @@ -37,12 +37,13 @@ There is no easy way to estimate the remaining NVT loading time, but you can che docker logs gvm ``` -If you see "Your gvm container is now ready to use!" then, you guessed it, your container is ready to use. +If you see "Your GVM 11 container is now ready to use!" then, you guessed it, your container is ready to use. ## Accessing Web Interface Access web interface using the IP address of the docker host on port 8080 - `https://:8080` +Default credentials: ``` Username: admin Password: admin diff --git a/install-pkgs.sh b/install-pkgs.sh index a9963daa..308fa3db 100644 --- a/install-pkgs.sh +++ b/install-pkgs.sh @@ -6,6 +6,7 @@ apt-get update bison build-essential ca-certificates +certtool cmake curl gcc