1. Prerequisites

If you wish to install Checkmk over HTTPS the following prerequisites must be satisfied on your monitoring server — irrespective of your sites:

  • You must have a valid server certificate.

  • The apache module mod_ssl is installed and activated.

  • The server is reachable under HTTPS.

  • The Rewrite and the Header module for the web server is available and loaded.

2. Configuring an HTTPS-connection for a site

Add the following lines in the section for the VirtualHost:

RewriteEngine On
RewriteCond %{SERVER_PORT} !^443$
RewriteRule (.*) https://%{HTTP_HOST}$1 [L]
RequestHeader set X-Forwarded-Proto "https"

The VirtualHost-configuration is found in these files — depending on the distribution being used:

Debian, Ubuntu






Following a configuration change the web server must be restarted. The restart commands are different for each distribution:

root@linux$ service httpd restart
root@linux$ service apache2 restart
root@linux$ systemctl restart httpd
root@linux$ systemctl restart apache2
On this page