securize zm via https
Posted: Fri Aug 24, 2018 2:04 pm
Hello !
in order to secure ZM I followed 'https://memo-linux.com/securiser-lacces ... ment-84410'.
I got the certificates , created zoneminder.conf in /etc/apache2/site-enabled/, restarted Apache
but the connexion test failed.
zoneminder.conf is:
NameVirtualHost *:443
<virtualhost *:443>
ServerName serverweb.dom
Alias /zm /usr/share/zoneminder
DocumentRoot /usr/share/zoneminder
SSLEngine on
SSLCertificateFile /etc/apache2/ssl/apache.crt
SSLCertificateKeyFile /etc/apache2/ssl/apache.key
php_flag register_globals off
Options Indexes FollowSymLinks
<IfModule mod_dir.c>
DirectoryIndex index.php
</IfModule>
</virtualhost>
As i am a beginner , I do not understand where they found serverweb.dom.
May be I have to modify the line 'ServerName serverweb.dom' ? Or what else ?
Thanks in advance for your help
in order to secure ZM I followed 'https://memo-linux.com/securiser-lacces ... ment-84410'.
I got the certificates , created zoneminder.conf in /etc/apache2/site-enabled/, restarted Apache
but the connexion test failed.
zoneminder.conf is:
NameVirtualHost *:443
<virtualhost *:443>
ServerName serverweb.dom
Alias /zm /usr/share/zoneminder
DocumentRoot /usr/share/zoneminder
SSLEngine on
SSLCertificateFile /etc/apache2/ssl/apache.crt
SSLCertificateKeyFile /etc/apache2/ssl/apache.key
php_flag register_globals off
Options Indexes FollowSymLinks
<IfModule mod_dir.c>
DirectoryIndex index.php
</IfModule>
</virtualhost>
As i am a beginner , I do not understand where they found serverweb.dom.
May be I have to modify the line 'ServerName serverweb.dom' ? Or what else ?
Thanks in advance for your help