Centreon – SSL bzw. HTTPS Verschlüsselung aktivieren

Hier beschreibe ich kurz und knapp die Einrichtung einer HTTPS (SSL) verschlüsselten Verbindung zum Centreon Webinterface. Und los gehts:

Selbst signiertes Zertifikat erstellen:

openssl req -new -days 999 -newkey rsa:4096bits -sha512 -x509 -nodes -out centreon_self_signed.crt -keyout centreon_self_signed.key

an die richtige Position verschieben:

mv centreon_self_signed.crt /etc/pki/tls/certs/
mv centreon_self_signed.key /etc/pki/tls/private/

die vHost Datei vom Webserver editieren:

CentOS und co:
nano /etc/httpd/conf.d/10-centreon.conf

Debian und co:
nano /etc/apache2/conf.d/10-centreon.conf

und folgendes hinzufügen und ggf. anpassen:

<VirtualHost *:443>
SSLEngine on
SSLCertificateKeyFile /etc/pki/tls/private/centreon_self_signed.key
SSLCertificateFile /etc/pki/tls/certs/centreon_self_signed.crt
<Directory "/usr/local/centreon/www">
    Options Indexes
    AllowOverride AuthConfig Options
    Order allow,deny
    Allow from all
</Directory>
</VirtualHost>

Webserver neustarten:

CentOS und co:
systemctl restart httpd
Debian und co:
systemctl restart apache2

Danach sollte das Webinterface via https://diedomainoderip erreichbar sein! :)

Hinterlasse einen Kommentar

*

https://www.maffert.net/wp-content/plugins/wp-monalisa/icons/wpml_bye.gif 
https://www.maffert.net/wp-content/plugins/wp-monalisa/icons/wpml_good.gif 
https://www.maffert.net/wp-content/plugins/wp-monalisa/icons/wpml_negative.gif 
https://www.maffert.net/wp-content/plugins/wp-monalisa/icons/wpml_scratch.gif 
https://www.maffert.net/wp-content/plugins/wp-monalisa/icons/wpml_wacko.gif 
https://www.maffert.net/wp-content/plugins/wp-monalisa/icons/wpml_yahoo.gif 
https://www.maffert.net/wp-content/plugins/wp-monalisa/icons/wpml_cool.gif 
https://www.maffert.net/wp-content/plugins/wp-monalisa/icons/wpml_heart.gif 
https://www.maffert.net/wp-content/plugins/wp-monalisa/icons/wpml_rose.gif 
https://www.maffert.net/wp-content/plugins/wp-monalisa/icons/wpml_smile.gif 
https://www.maffert.net/wp-content/plugins/wp-monalisa/icons/wpml_whistle3.gif 
https://www.maffert.net/wp-content/plugins/wp-monalisa/icons/wpml_yes.gif 
https://www.maffert.net/wp-content/plugins/wp-monalisa/icons/wpml_cry.gif 
https://www.maffert.net/wp-content/plugins/wp-monalisa/icons/wpml_mail.gif 
https://www.maffert.net/wp-content/plugins/wp-monalisa/icons/wpml_sad.gif 
https://www.maffert.net/wp-content/plugins/wp-monalisa/icons/wpml_unsure.gif 
https://www.maffert.net/wp-content/plugins/wp-monalisa/icons/wpml_wink.gif