Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Required Private Directories "SSL certificate problem: unable to get local issuer certificate." warnings after upgrading to 4.3.0 #17600

Closed
TimothyAlexisVass opened this issue May 20, 2021 · 2 comments
Labels
answered For when a question was asked and we referred to forum or answered it.

Comments

@TimothyAlexisVass
Copy link

TimothyAlexisVass commented May 20, 2021

Unable to execute check for https://xxxxxxxxxxx.se/config/config.ini.php: curl_exec: SSL certificate problem: unable to get local issuer certificate. Hostname requested was: xxxxxxxxxxx.se
Unable to execute check for https://xxxxxxxxxxx.se/tmp/: curl_exec: SSL certificate problem: unable to get local issuer certificate. Hostname requested was: xxxxxxxxxxx.se
Unable to execute check for https://xxxxxxxxxxx.se/tmp/empty: curl_exec: SSL certificate problem: unable to get local issuer certificate. Hostname requested was: xxxxxxxxxxx.se
Unable to execute check for https://xxxxxxxxxxx.se/tmp/cache/tracker/matomocache_general.php: curl_exec: SSL certificate problem: unable to get local issuer certificate. Hostname requested was: xxxxxxxxxxx.se
Unable to execute check for https://xxxxxxxxxxx.se/lang/en.json: curl_exec: SSL certificate problem: unable to get local issuer certificate. Hostname requested was: xxxxxxxxxxx.se

This happened after upgrade.

Expected Behavior

All certificates are valid and everything else works properly.

Context

This doesn't seem to affect anything.

Your Environment

  • Matomo Version: 4.3.0
  • PHP Version: 7.4.15
  • Server Operating System: Debian 10
  • Browser: Firefox 88.0.1 (64-bit) for Ubuntu
@TimothyAlexisVass TimothyAlexisVass added the Potential Bug Something that might be a bug, but needs validation and confirmation it can be reproduced. label May 20, 2021
@Findus23
Copy link
Member

Hi,

For the system check to see if those files are public Matomo makes a HTTP request to your own server using curl.
So it seems that while your certificates are valid and trusted by your users (otherwise tracking wouldn't work), your server itself doesn't trust the certificate.
You can try this out by running curl https://your.matomo/lang/en.json on your server and see if the same error occur there too.

Maybe your CA list is outdated...

@TimothyAlexisVass
Copy link
Author

After having done more testing with curl and wget with this and some other servers, it's safe to say that the issue is something other than matomo.

@Findus23 Findus23 added answered For when a question was asked and we referred to forum or answered it. and removed Potential Bug Something that might be a bug, but needs validation and confirmation it can be reproduced. labels May 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered For when a question was asked and we referred to forum or answered it.
Projects
None yet
Development

No branches or pull requests

2 participants