You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Robin Thoni 8dc80e867c fixed "unknown ca" error пре 6 година
frontend updated to stable 4.0.3 пре 6 година
postgresql moved to library/debian:stretch; updated to zabbix 4.0 пре 6 година
zabbix added TLS support for agents; added example CA and cert пре 6 година
.gitignore init пре 7 година
README.md fixed "unknown ca" error пре 6 година
docker-compose.yml added restart policy in comments пре 7 година
env init пре 7 година
update_vars.sh init пре 7 година

README.md

Default username/password

Admin:zabbix

TLS

Generate CA

Generate CA key

openssl genrsa -passout env:CA_PASSWD -aes256 -out zabbix-ca.key 4096

Generate CA

openssl req -x509 -new -key zabbix-ca.key -sha256 -days 36500 -out zabbix-ca.crt -passin env:CA_PASSWD -subj “/CN=zabbix-ca”

Generate host cert

Set host variable

HOST=zabbix-host.domain.tld

Generate host key and csr

openssl req -new -newkey rsa:4096 -nodes -keyout “${HOST}.key” -out “${HOST}.csr” -subj “/CN=${HOST}”

Generate host cert

openssl x509 -req -CA zabbix-ca.crt -CAkey zabbix-ca.key -CAcreateserial -days 36500 -sha256 -passin env:CA_PASSWD -in “${HOST}.csr” -out “${HOST}.crt”

Remove csr

rm “${HOST}.csr”