Cannot install matomo - system check fails

Hello,

I am trying to install the latest stable version of matomo, 5.11.2, on my test Debian 12 server, but I cannot get past system check because “Update over HTTPS” check fails. The error message is as follows:

“Could not initialize HTTPS. Connections to matomo .org use HTTPS by default for security. Please make sure that HTTPS works on your environment or enable the option `force_matomo_http_request`. For more details please read how to disable https for matomo.org requests“

I am running php-fpm version 8.2 with apache server 2.4. I confirmed the following items:

  • openssl support and curl extension are enabled for php
  • curl is installed on Debian
  • ca-generated ssl certificate was installed for apache. ca cert is also installed on debian server.
  • /etc/hosts file was updated with the subdomain I am using for matomo.
  • curl -I https:// local-matomo-subdomain succeeds (200 code) when run on Debian server
  • curl -I https://matomo.org succeeds (200 code) when run on Debian server
  • Created phpinfo test file under matomo’s directory and accessed it from browser. Confirmed $_SERVER[‘HTTPS’] is set to on

I am not sure why the test fails, as it looks like HTTPS is working. What does matomo check exactly for this test? I am using internal domain/URL, as it is a test server. Can this be a problem?

Thank you.

Hello,

I decided to use another tool, so no further help is needed on this.

Thank you.