24-10-25
VirtualHost 443 Zabbix¶
Créer certificat¶
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/ssl/localcerts/zabbix.key -out /etc/ssl/localcerts/zabbix.pem
VirtualHost¶
<VirtualHost *:443>
ServerAdmin webmaster@localhost
DocumentRoot /home/htdocs/zabbix
ServerName Zabbix
SSLEngine on
SSLCertificateFile /etc/ssl/localcerts/zabbix.pem
SSLCertificateKeyFile /etc/ssl/localcerts/zabbix.key
<Directory /home/htdocs/zabbix/>
Require all granted
AllowOverride All
Options FollowSymLinks MultiViews
<IfModule mod_dav.c>
Dav off
</IfModule>
</Directory>
</VirtualHost>
Nom de domaine pour OPNSense¶
![[Pasted image 20250124092411.png]]
![[Pasted image 20250124092427.png]]