Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
Robin Thoni 1a6c986b58 added TLS support for agents; added example CA and cert il y a 5 ans
frontend updated to stable 4.0.3 il y a 5 ans
postgresql moved to library/debian:stretch; updated to zabbix 4.0 il y a 5 ans
zabbix added TLS support for agents; added example CA and cert il y a 5 ans
.gitignore init il y a 6 ans
README.md added TLS support for agents; added example CA and cert il y a 5 ans
docker-compose.yml added restart policy in comments il y a 6 ans
env init il y a 6 ans
update_vars.sh init il y a 6 ans

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-server”

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”