How to enable HTTPS for Zabbix

rijAth mohAmmed nr picture rijAth mohAmmed nr · Apr 12, 2016 · Viewed 16.8k times · Source

How to configure make Zabbix accessible using HTTPS? - Ubuntu Apache!

Currently Zabbix is accessible on Intranet via http://192.160.1.1/zabbix where I would like to setup to access it like https://192.160.1.1/zabbix

Thanks

Answer

Sebastiaan Knijnenburg picture Sebastiaan Knijnenburg · Sep 13, 2017

I managed to arrange SSL on my Zabbix site by having a named vhost (mytest.site.com) with any docroot (/var/www/mytest.site.com/public_html). Zabbix hooks into any /zabbix url, so it doesn't really matter which one. It is important that you have a valid DNS resolving to your vhost. Then use Letsencrypt to create a SSL certificate for that vhost and have it forward traffic to port 80 to port 443 (see https://www.digitalocean.com/community/tutorials/how-to-secure-apache-with-let-s-encrypt-on-ubuntu-16-04 for installation details).