Configuring OCSP Stapling

OCSP is a protocol for checking the validity of certificates, that is, to make sure that they have not been revoked and whether they were actually issued. Enabling OCSP Stapling on the web server side allows you to increase the speed of site opening, since the request to the certification authority is made not by the browser, but by the web server.

Continue reading “Configuring OCSP Stapling”

Solution Invalid command ‘Header’, perhaps misspelled or defined by a module not included in the server configuration

Once I transferred one site from one server to another Ubuntu server and after installing Apache2 I noticed the following error in the logs:

Continue reading “Solution Invalid command ‘Header’, perhaps misspelled or defined by a module not included in the server configuration”

Solution AH00558: apache2: Could not reliably determine the server’s fully qualified domain name

Once after installing and configuring Apache2 on Ubuntu Server 20.04, I noticed the following error in the /var/log/apache2/error.log logs:

Continue reading “Solution AH00558: apache2: Could not reliably determine the server’s fully qualified domain name”

Solution Syntax error on line 80 of /etc/apache2/apache2.conf: DefaultRuntimeDir must be a valid directory, absolute or relative to ServerRoot

Once I wanted to see which MPM module is being used and executed the command:

Continue reading “Solution Syntax error on line 80 of /etc/apache2/apache2.conf: DefaultRuntimeDir must be a valid directory, absolute or relative to ServerRoot”

The problem with multiple SSL on the same IP

If there are several sites with SSL on the same IP address, then old ancient browsers that do not support SNI will not be able to determine which certificate to download and will most likely download the first one that is registered at the beginning of the web server configuration.

Continue reading “The problem with multiple SSL on the same IP”