简体   繁体   English

如何为Zabbix启用HTTPS

[英]How to enable HTTPS for Zabbix

How to configure make Zabbix accessible using HTTPS? 如何配置使用HTTPS可以访问Zabbix? - Ubuntu Apache! - 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 目前Zabbix可以在Intranet上通过http://192.160.1.1/zabbix访问,在那里我想设置访问它,如https://192.160.1.1/zabbix

Thanks 谢谢

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). 我设法通过一个名为vhost(mytest.site.com)和任何docroot(/var/www/mytest.site.com/public_html)在我的Zabbix网站上安排SSL。 Zabbix hooks into any /zabbix url, so it doesn't really matter which one. Zabbix挂钩到任何/ zabbix url,所以它并不重要。 It is important that you have a valid DNS resolving to your vhost. 您有一个有效的DNS解析您的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). 然后使用Letsencrypt为该vhost创建SSL证书,并将其转发到端口80到端口443(请参阅https://www.digitalocean.com/community/tutorials/how-to-secure-apache-with-let- s-encrypt-on-ubuntu-16-04了解安装细节)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM