Install
- apt update
- apt install gvm
setup
start
Finish
...
md main: DEBUG:6750:2016-08-15 17h32.43 CEST: sql_open: db open, max retry sleep time is 0
Rebuilding NVT cache... done.
User created with password '4dxxxx7-exx9-4xx4-axxc-6xxxx20xxx2'.
stop
letsencrypt
- apt install certbot
- certbot certonly --standalone -d <FQDN>
change gsad settings
- /etc/systemd/systemd/greenbone-security-assistant.service
[Unit]
Description=Greenbone Security Assistant (gsad)
Documentation=man:gsad(8) https://www.greenbone.net
After=network.target
Wants=gvmd.service
[Service]
Type=forking
User=root
Group=root
ExecStart=/usr/sbin/gsad --no-redirect --listen=0.0.0.0 --port=443 --ssl-private-key=/etc/letsencrypt/live/scanner.tuxmen.de/privkey.pem --ssl-certificate=/etc/letsencrypt/live/scanner.tuxmen.de/cert.pem
Restart=always
TimeoutStopSec=10
[Install]
WantedBy=multi-user.target
Alias=gsad.service
dameon reloas
- systemctl daemon-reload
- gvm-stop
- gvm-start
- gvm-check-setup --server
Check Listing
- netstat -lntp | grep gsad
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 4204/gsad
Login