@aqustiq opened this Issue on April 27th 2022

Unable to execute check for https://matomo.myxdomain.com/config/config.ini.php: curl_exec: SSL certificate problem: unable to get local issuer certificate. Hostname requested was: matomo.myxdomain.com Unable to execute check for https://matomo.myxdomain.com/tmp/cache/tracker/matomocache_general.php: curl_exec: SSL certificate problem: unable to get local issuer certificate. Hostname requested was: matomo.myxdomain.com All private directories are inaccessible from the internet.
-- | --
Unable to execute check for https://matomo.myxdomain.com/tmp/: curl_exec: SSL certificate problem: unable to get local issuer certificate. Hostname requested was: matomo.myxdomain.com Unable to execute check for https://matomo.myxdomain.com/tmp/empty: curl_exec: SSL certificate problem: unable to get local issuer certificate. Hostname requested was: matomo.myxdomain.com Unable to execute check for https://matomo.myxdomain.com/lang/en.json: curl_exec: SSL certificate problem: unable to get local issuer certificate. Hostname requested was: matomo.myxdomain.com All private directories are inaccessible from the internet.

I checked all these URL's with curl from the server itself and have no issues to connect.

Matomo is fully functional just System Check complains about.

Your Environment

  • Matomo Version: 4.9.1
  • PHP Version: 7.3.3
  • Server Operating System: RHEL 8
  • Additionally installed plugins: Default
  • Browser: Firefox 99.0.1
  • Operating System: Win10
@bx80 commented on April 27th 2022 Contributor

Hi @aqustiq, thanks for making contact.

The system check connects to your server via HTTPS using curl to determine if those files are publicly accessible. From the error message it looks like your server's certificate is not trusted by curl.

You can test this by attempting to connect directly with curl on your server:

curl https://matomo.myxdomain.com/README.md

It could be that your certificate authority list is out of date and needs to be updated, this FAQ explains how to update it.

@aqustiq commented on April 28th 2022

Hi @aqustiq, thanks for making contact.

The system check connects to your server via HTTPS using curl to determine if those files are publicly accessible. From the error message it looks like your server's certificate is not trusted by curl.

You can test this by attempting to connect directly with curl on your server:

curl https://matomo.myxdomain.com/README.md

It could be that your certificate authority list is out of date and needs to be updated, this FAQ explains how to update it.

Hi @bx80 ,
How I mentioned in first post when I access those URLs from the server with curl I have no certificate error.
I tested also URL which you provided and here the result:

[]# curl https://matomo.myxdomain.com/README.md
# Matomo (formerly Piwik) - matomo.org

[![Latest Stable Version](https://poser.pugx.org/matomo/matomo/v/stable)](https://matomo.org/download/)
[![Latest Unstable Version](https://poser.pugx.org/matomo/matomo/v/unstable)](https://builds.matomo.org/)
[![License](https://poser.pugx.org/piwik/piwik/license)](https://matomo.org/free-software/)

## Code Status

[![Build Status](https://travis-ci.com/matomo-org/matomo.svg?branch=4.x-dev)](https://app.travis-ci.com/matomo-org/matomo/branches)
[![Percentage of issues still open](http://isitmaintained.com/badge/open/matomo-org/matomo.svg)](http://isitmaintained.com/project/matomo-org/matomo "Percentage of issues still open")

## Description

Matomo is the leading Free/Libre open analytics platform.

Matomo is a full-featured PHP MySQL software program that you download and install on your own webserver.
At the end of the five-minute installation process, you will be given a JavaScript code.
Simply copy and paste this tag on websites you wish to track and access your analytics reports in real-time.

Matomo aims to be a Free software alternative to Google Analytics and is already used on more than 1,400,000 websites. Privacy is built-in!

## Mission Statement

> « To create, as a community, the leading international open source digital analytics platform, that gives every user full control of their data. »

Or in short:
> « Liberate Web Analytics »

## License

Matomo is released under the GPL v3 (or later) license, see [LICENSE](LICENSE).

## Requirements

  * PHP 7.2.5 or greater
  * MySQL version 5.5 or greater, or MariaDB
  * PHP extension pdo and pdo_mysql, or the MySQLi extension
  * Matomo is OS / server independent

See https://matomo.org/docs/requirements/.`

I have cut rest of the output but the idea is that I have no problem to access the website with curl from the server.

Powered by GitHub Issue Mirror